Functional e2e tests is executed on Dev environments.
-
Install all dependencies (including cypress):
npm install
ornpm i
-
Running test via headless mode:
npm run cypress:run
-
Running test via UI mode:
npm run cypress:open
-
Test Scenarios folder:
/cypress/integration/
-
Reports and Results:
- Report folder -
/cypress/report/
- Screenshots -
/cypress/screenshots/
- Report folder -
- Add your cypress custom commands under
support/commands.js
- Add
--headed
to the npm command