cypressApplitoolsPOC
POC to combine cypress functional tests with applitools visual tests
Second step is to add Browserstack as target device
Web site targeted was a sample book store https://demoqa.com/books
How to develop tests
-
Set APPLITOOLS_API_KEY variable (GitHub account required to register)
-
yarn cypress open
How to run tests locally
-
Set APPLITOOLS_API_KEY variable (GitHub account required to register)
-
yarn cypress run --spec "cypress/integration/book_store.spec.js"
How to run tests in browserstack
-
Set APPLITOOLS_API_KEY variable in applitools config file
-
Set username and access_key variables in browserstack config file
-
yarn browserstack-cypress run --sync --specs "cypress/integration/book_store.spec.js"
NOTE: I could not achieve to run from Windows, getting NPM_INSTALL_FAILED error, related to formatting of package.json
Sample reports
Sample execution reports are available in reports.
Video was obtained running with --record option
Captures from https://eyes.applitools.com