Cypress test
HowTo.
git clone git@github.com:yo-l1982/cypress-test.git
- run
npm install
- Check tests code in cypress/integration/helsingborg_spec.js
- run
npx cypress open
- Click
Run all specs
and watch run succeed. - Make test fail by changing regex in cypress/integration/helsingborg_spec.js on line 32 to
.and('match', /blabla/);
Test will auto rerun on save. - Check images in cypress/screenshots
- Check Video in cypress/videos
- Undo changes in cypress/integration/helsingborg_spec.js on line 32
- For cli test run
npm run test