https://github.com/nuclia/e2e
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nuclia/e2e
- Owner: nuclia
- Created: 2023-09-12T14:15:20.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T19:05:40.000Z (11 months ago)
- Last Synced: 2024-10-29T21:20:32.904Z (11 months ago)
- Language: JavaScript
- Size: 18.5 MB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# e2e testing

## 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:```shell
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`.