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

feat: add option to omit all filtered tests #84

Merged
merged 2 commits into from Nov 3, 2021
Merged

Conversation

bahmutov
Copy link
Collaborator

@bahmutov bahmutov commented Nov 3, 2021

By default, all filtered tests are made pending using it.skip method. If you want to completely omit them, pass the environment variable grepOmitFiltered=true.

Omit filtered tests

cypress run --env grep="works 2",grepOmitFiltered=true

Tip: you can set this environment variable in the cypress.json file to enable it by default and skip using the environment variable:

{
  "env": {
    "grepOmitFiltered": true
  }
}

@bahmutov bahmutov merged commit 8cdc686 into main Nov 3, 2021
@github-actions
Copy link

github-actions bot commented Nov 3, 2021

🎉 This PR is included in version 2.10.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.

None yet

1 participant