Unit
Integration
UI
High Maintenance
Slow
Difficult
Remember the
Test Pyramid?
Cheap
Fast
💰💰💰
😫 😫 😫
"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"
How is Cypress different?
npm i -g cypress
cypress run
cypress open
Cross browser support as of v4.0.0
Cypress v4.6
.. and much more here https://docs.cypress.io/plugins
Â
But.. workarounds are documented here.
https://docs.cypress.io/guides/references/trade-offs.html
Â