Cypress · Middle · Question 43 of 77

How can animations cause flaky Cypress tests?

Show the answer

Correct answer: Elements move or are covered while Cypress tries to act

Explanation

Cypress waits for elements to stop animating, but long or looping animations still cause trouble. Disable them in test builds.

Further reading

Problem with a question

Cypress · Middle · question 43

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