This is the submission for Applitools hackathon
- 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'
- 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
- 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 appnpm run cypress:open:v2
to open the tests configured to run against V2 version of the app
- 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.