Cypress · Junior · Question 25 of 75

What are Cypress commands, in terms of timing?

Show the answer

Correct answer: Enqueued and run later, one after another

Explanation

Calling cy.get() adds it to a queue. Cypress then runs the queue in order, which is why you can't use the return value directly.

Further reading

Problem with a question

Cypress · Junior · question 25

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