Cypress · Junior · Question 23 of 75

What is the default timeout for most Cypress queries like cy.get?

Show the answer

Correct answer: 4 seconds

Explanation

defaultCommandTimeout is 4000 ms. Page loads have a longer pageLoadTimeout; both can be changed in config or per command.

Further reading

Problem with a question

Cypress · Junior · question 23

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