Skip to content

Akshaya2312/Applitools-Visual-AI-Rockstar-Hackathon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rockstar-hackathon

This is the submission for Applitools hackathon

Prerequisites

  • Node version 8 or above
  • Npm version 6.4.x or above
  • Applitools API Key to be set as environment variable using following commands

Mac / linux / Windows OS ( with Git bash terminal) : export APPLITOOLS_API_KEY='YOUR_API_KEY'

Windows(Powershell/ command prompt): set APPLITOOLS_API_KEY='YOUR_API_KEY'

Automation Tool and libraries used :

  • Cypress : To Run automated tests
  • Cypress-eyes-plugin - To use as library to connect Applitools Dashboard using automated tests
  • cross-env : To make scripts runnable across windows and Linux OS environments

Steps

  • There are two spec files 1: TraditionalTests.js and 2. VisualAITests.js
  • Execute command npm run cypress:test:v1 to run functional and visual tests agains V1
  • Execute command npm run cypress:test:v2 to run functional and visual tests agains V2

To visualize the tests run following commands

  • npm run cypress:open:v1 to open the tests configured to run against V1 version of the app
  • npm run cypress:open:v2 to open the tests configured to run against V2 version of the app

Results

  • VisualAITests.js result will be uploaded to Applitools
  • For all the tests cypress creates videos folder where it saves the video in mp4 format for user to visualize the test execution result.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published