An open API service indexing awesome lists of open source software.

https://github.com/nuclia/e2e


https://github.com/nuclia/e2e

Last synced: 7 months ago
JSON representation

Awesome Lists containing this project

README

          

# e2e testing

![e2e run](https://github.com/nuclia/e2e/actions/workflows/run-e2e.yml/badge.svg)

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