Cypress · Senior · Question 23 of 76
Why run Cypress against preview deployments per pull request?
- 1Bugs are found before merge, on the exact build and infrastructure
- 2Preview deployments make Cypress tests run much faster
- 3Cypress can't run against local development servers
Show the answer
Correct answer: Bugs are found before merge, on the exact build and infrastructure
Explanation
Pointing baseUrl at the preview URL tests what will ship, including build and config differences.