Cypress · Senior · Question 49 of 76
What is the trade-off of Cypress's automatic waiting for page loads?
- 1It makes every single test wait 30 seconds before starting
- 2Convenient, but long-polling or slow loads can hit page timeouts
- 3It disables network stubbing during page loads
Show the answer
Correct answer: Convenient, but long-polling or slow loads can hit page timeouts
Explanation
Apps that never fire load quickly need tuned pageLoadTimeout or a fix in the app's loading strategy.