Cypress · Senior · Question 43 of 76
Why should you avoid cy.wait on a fixed number before an assertion even in CI-only tests?
- 1CI timing varies more than local timing
- 2CI ignores all
cy.waitcommands - 3Fixed waits only work in headed mode
Show the answer
Correct answer: CI timing varies more than local timing
Explanation
Shared runners are slower and noisier. Conditional waits adapt; fixed ones become flaky or slow.