Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ebrehault committed Aug 26, 2024
1 parent f4b19af commit 1666d7e
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@ 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```
- 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`).
By default, tests are running on stage (thanks to `baseUrl` set in `cypress.config.js`).
To run the tests in your local environment:

```shell
CYPRESS_BASE_URL=http://localhost:4200 cypress open
```
Expand All @@ -25,3 +26,7 @@ CYPRESS_BASE_URL=http://localhost:4200 cypress open
```
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`.

0 comments on commit 1666d7e

Please sign in to comment.