Cypress · Senior · Question 51 of 76
Why should Cypress tests not depend on production-like data in staging?
- 1Staging databases can't be read by Cypress
- 2Cypress refuses to run against staging URLs
- 3Shared data changes unpredictably and breaks tests
Show the answer
Correct answer: Shared data changes unpredictably and breaks tests
Explanation
Seeded, owned data makes results repeatable regardless of what others do in the environment.