Skip to content

nuclia/e2e

Repository files navigation

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.

The test account email and passwords are saved in the gcp secret manager (project=nuclia-internal, secret=E2E_GITHUB_SECRETS_USER_PWD_PROD)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 14