CONFIDENCE
$ npm install cypress
Pros:
Cons:
Cons:
Login test example
Login test example
Viewing the settings page
Viewing the settings page
Login without UI test example
Adding a Cypress Custom Command
Login without UI test example
Selenium-based tools
In Cypress
There's no guarentee this will run
Clean up state before tests run
Start a web server prior to running Cypress
$ npm start & cypress run
Start a web server prior to running Cypress
π ββοΈπβπ ββοΈ
$ npm start & cypress run
Start a web server prior to running Cypress
$ npm start & cypress run
π ββοΈπβπ ββοΈ
$ npm start & wait-on http://localhost:8080 \
& cypress run
Start a web server prior to running Cypress
$ npm test
HTML
JSON response
exposing the store
dispatching action objects
dispatching actions from our code
checking state with snapshot testing
Β
Β
Β
cheap
π΅π°
cheap
ππ¨
π’
π΅π°
cheap
ππ¨
π’
π΅π°
BIG PROBLEMS π€―
Small problems π
$ npm install cypress