Cypress · Junior · Question 38 of 75

How do you run only one test while working on it?

Show the answer

Correct answer: Use it.only(...) temporarily

Explanation

.only focuses a test or describe. Remove it before committing, or a CI check can fail on it.

Further reading

Problem with a question

Cypress · Junior · question 38

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