Cypress · Senior · Question 64 of 76

What should happen when a Cypress test is consistently slow?

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.

Further reading

Problem with a question

Cypress · Senior · question 64

Test yourself

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

Take this quiz