Cypress
Install
Using npm
npm install cypress --save-dev
Docker
- https://www.cypress.io/blog/2019/05/02/run-cypress-with-a-single-docker-command/
- https://mtlynch.io/painless-web-app-testing/
- Official docker images
Usage
Get started:
./node_modules/.bin/cypress open
Then start adding tests in ./
Issues
Logging
There's still no native support for Capture + Display all logs for everything that happens in Cypress There are work-around plugins though:
Use DEBUG env var
- See Troubleshooting:Print DEBUG logs
- For electron browser
DEBUG=cypress:electron