Cypress · Junior · Question 57 of 75

Why does Cypress record screenshots on failure in cypress run?

Show the answer

Correct answer: To show the state of the app when the test failed

Explanation

Failure screenshots and optional videos help understand CI failures without rerunning.

Further reading

Problem with a question

Cypress · Junior · question 57

Test yourself

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

Take this quiz