Cypress · Junior · Question 62 of 75

What should a Cypress test check after submitting a form?

Show the answer

Correct answer: The visible result and, if needed, the request sent

Explanation

Asserting the UI outcome and the intercepted request body catches both display and data bugs.

Further reading

Problem with a question

Cypress · Junior · question 62

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