Cypress · Middle · Question 55 of 77

What happens to the command queue when an assertion inside it fails?

Show the answer

Correct answer: The test stops and later commands don't run

Explanation

Cypress fails fast within a test. Split independent checks into separate tests if you need all results.

Further reading

Problem with a question

Cypress · Middle · question 55

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