1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00

mention Cypress UI

This commit is contained in:
Matthias Kretschmann 2019-06-26 12:29:41 +02:00
parent 9b9db4b655
commit 2dfa8a0962
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -120,7 +120,7 @@ npm run test:watch
### End-to-End Integration Tests ### End-to-End Integration Tests
To run all integration tests, run: To run all integration tests in headless mode, run:
```bash ```bash
npm run test:e2e npm run test:e2e
@ -130,6 +130,12 @@ This will automatically spin up all required resources to run the integrations t
The endpoints Cypress runs against are defined by your [Environment Variables](#-Environment-Variables), and Cypress-specific variables in `cypress.json`. The endpoints Cypress runs against are defined by your [Environment Variables](#-Environment-Variables), and Cypress-specific variables in `cypress.json`.
You can also use the UI of Cypress to run and inspect the integration tests locally:
```bash
npm run cypress:open
```
## ✨ Code Style ## ✨ Code Style
For linting and auto-formatting you can use from the root of the project: For linting and auto-formatting you can use from the root of the project: