Skip to content
This repository has been archived by the owner on Mar 29, 2023. It is now read-only.

feat: pre-filter specs by a tag before running #79

Merged
merged 4 commits into from Oct 28, 2021
Merged

Conversation

bahmutov
Copy link
Collaborator

# only run the specs that have any tests tagged "@smoke"
$ npx cypress run --env grepTags=@smoke,grepFilterSpecs=true

closes #67

Note: only positive single tag is working in this case

@bahmutov bahmutov changed the title Filter specs for tags feat: pre-filter specs by a tag before running Oct 28, 2021
@bahmutov bahmutov merged commit 9dbe255 into main Oct 28, 2021
@github-actions
Copy link

🎉 This PR is included in version 2.9.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cypress-Grep : All the specs are executing , not only the spec where the particular tag is given
1 participant