Cypress - CI/CD and Reporting
You want to run only tests tagged with
@smoke using the CLI. Which command correctly achieves this?@smoke using the CLI. Which command correctly achieves this?grepTags allows filtering tests by tags.cypress run --env grepTags=@smoke correctly uses --env grepTags=@smoke. cypress run --spec @smoke and cypress run --tag @smoke use invalid flags for tag filtering. cypress open --env grepTags=@smoke opens GUI instead of running tests.--env grepTags= [OK]--env grepTags= to run tagged tests [OK]--tag--spec with tagscypress open instead of run15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions