This is my submission for the Applitools Visual AI Rockstar Hackathon using Cypress and Applitools Eyes.
You must have the following installed to run these tests:
- Node
- NPM
- Chrome v73+
To install the project dependencies, run npm i
To run the tests using Cypress Visual Test Runner, follow the steps below:
- Run
npm run cypress:dev
- Select a test file that you wish to run (
TraditionalTestsV1.js
orTraditionalTestsV2.js
)
You should then be able to see the test results for version V1 and V2 of the app.
To run the Visual AI tests using Cypress with Applitools, follow the steps below:
- export APPLITOOLS_API_KEY=
- Run
npm run cypress:dev
- Select a test file that you wish to run (
VisualAITestsV1.js
orVisualAITestsV2.js
)
To run the tests headlessly on the command line, run npm run cypress:run
instead.