Cypress · Junior · Question 45 of 75

How do you pause a test to inspect the page in the Cypress app?

Show the answer

Correct answer: Add cy.pause()

Explanation

cy.pause() halts the command queue so you can inspect and then step through. cy.debug() logs the subject and hits a debugger.

Further reading

Problem with a question

Cypress · Junior · question 45

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