Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 722 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 722 Bytes

UI tests with Cypress

Test Automation University

Required: NodeJS

To run simple examples

  • npm install
  • npx cypress run --spec the-test-file

To work with a project from scratch

  • npx cypress install --force flag '-- force' will help resolve the issue if the standard installation was unsuccessful
  • npx cypress open
  • npx cypress run or npm test
  • npx cypress run --spec the-test-file
  • npx cypress run --spec cypress/integration/todomvc-actions.spec.js Example from project

To use Applitools

  • npm install @applitools/eyes-cypress
  • npx eyes-setup
  • export APPLITOOLS_API_KEY= {yourAPIKey}
  • set APPLITOOLS_API_KEY= {yourAPIKey}