Marie Drake, Quality Engineering Manager @ Zoopla
mariedrake.com
@mcruzdrake
/in/marie-drake/
Unit
Integration
E2E
High Maintenance
Slow
Difficult
Remember the
Test Automation Pyramid?
Cheap
Fast
💰💰💰
😫 😫 😫
@mcruzdrake
@mcruzdrake
Integration
E2E
Unit
@mcruzdrake
@mcruzdrake
@mcruzdrake
@mcruzdrake
"We don't have time to write UI tests"
"Writing automated tests slows us down"
"We have a tight deadline so we need to release ASAP"
"I don't know how to use Selenium"
"I have a lot of tickets to test manually"
"Tests are so flaky"
"How do you debug it?"
"Setup is difficult"
"Let's leave it to the SDETs. It's their job"
"I don't understand the error messages"
@mcruzdrake
@mcruzdrake
@mcruzdrake
@mcruzdrake
@mcruzdrake
@mcruzdrake
@mcruzdrake
@mcruzdrake
@mcruzdrake
@mcruzdrake
@mcruzdrake
npm i -D cypress
npx cypress run
npx cypress open
@mcruzdrake
Cross browser support as of v4.0.0
@mcruzdrake
@mcruzdrake
@mcruzdrake
Cypress v4.6
@mcruzdrake
.. and much more here https://docs.cypress.io/plugins
@mcruzdrake
@mcruzdrake
✅ End-to-end tests
✅ Component tests
✅ API tests
✅ Accessibility tests
✅ Client side performance tests
✅ Visual tests
@mcruzdrake
But.. workarounds are documented here.
https://docs.cypress.io/guides/references/trade-offs.html
@mcruzdrake
@mcruzdrake