Skip to content

Commit

Permalink
Add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
cnotv committed Jan 17, 2025
1 parent c123245 commit fb54b21
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docusaurus/docs/internal/testing/e2e-test.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,14 @@ These values are provided when you create a new project within Cypress dashboard

It's also possible to run a workflow in GitHub Actions E2E test using these values to record on personal dashboards.

### Skip dashboard or tests

CI gates can be disabled in the following way:

- Use label `ci/skip-e2e` to skip the E2E tests in the PR
- Use label `ci/skip-e2e-cypress-dashboard` to run the E2E tests without Sorry Cypress dashboard in the PR (it will enable `TEST_DISABLE_DASHBOARD_LABEL` env var)
- Use GitHub settings and define env var `TEST_DISABLE_DASHBOARD` as `true` (which is string and not boolean) to disable the Cypress dashboard entirely in every CI run

## Local and CI/prod run

It is possible to start the project and run all the tests at once with a single command. There's however a difference between `dev` and `production` run. The first will not require an official certificate and will build the project in `dist`, while the production will enable all the SSL configurations to run encrypted.
Expand Down

0 comments on commit fb54b21

Please sign in to comment.