Cypress · Senior · Question 11 of 76

How can you run only tests tagged @smoke in Cypress?

Show the answer

Correct answer: Use the @cypress/grep plugin and filter by tag

Explanation

The grep plugin filters by title or tags and can skip specs with no matches, so smoke runs finish quickly.

Further reading

Problem with a question

Cypress · Senior · question 11

Test yourself

Take the Cypress · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz