Cypress · Senior · Question 13 of 76

Why can heavy network stubbing make a Cypress suite give false confidence?

Show the answer

Correct answer: Stubs can drift from the real API while tests stay green

Explanation

Pair stubbed UI tests with some tests against a real backend, or validate fixtures against the API contract.

Further reading

Problem with a question

Cypress · Senior · question 13

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