Cypress · Senior · Question 64 of 76
What should happen when a Cypress test is consistently slow?
- 1Increase its timeout until it stops failing
- 2Move it to the end of the run so it matters less
- 3Profile its steps; remove UI setup and real waits
Show the answer
Correct answer: Profile its steps; remove UI setup and real waits
Explanation
The command log and Test Replay show where time goes, usually logins, unstubbed calls or waits.