Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 749 Bytes

README.md

File metadata and controls

32 lines (21 loc) · 749 Bytes

e2e testing

e2e run

Setup

yarn install

Run manually

  • run all the tests from the terminal: cypress run
  • run a specific spec file: cypress run --spec "cypress/e2e/3-widget/find.cy.js"
  • or open cypress dashboard to run them one by one and debug: cypress open

By default, tests are running on stage (thanks to baseUrl set in cypress.config.js). To run the tests in your local environment:

CYPRESS_BASE_URL=http://localhost:4200  cypress open

Run with Docker

docker build -t e2e .

e2e on prod

When promoting to prod any changes that had impact on the e2e test, the e2e-on-prod branch must be rebased on main.