Cypress · Middle · Question 60 of 77

What is a good way to keep Cypress specs fast as a suite grows?

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.

Further reading

Problem with a question

Cypress · Middle · question 60

Test yourself

Take the Cypress · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz