Cypress · Middle · Question 60 of 77
What is a good way to keep Cypress specs fast as a suite grows?
- 1Seed via API, stub slow third parties, keep tests short
- 2Combine all tests into one very long spec file
- 3Add
cy.wait(1000)after each step for stability
Show the answer
Correct answer: Seed via API, stub slow third parties, keep tests short
Explanation
Most time goes into UI setup and waiting. Direct setup and focused tests keep runs short.