Cypress · Senior · Question 63 of 76

How can Cypress catch hydration or runtime errors that don't break visible UI?

Show the answer

Correct answer: Fail on uncaught exceptions and spy on console.error

Explanation

Such errors often precede visible bugs. Surfacing them in CI catches regressions early.

Further reading

Problem with a question

Cypress · Senior · question 63

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