cypress-cucumber-preprocessor: Ability to not run test that aren't tagged
I am on the cypress-cucumber-preprocessor 1.11.0
I should have the ability to exclude tests that are not tagged.
When I run cypress run -e TAGS='@focus' it goes through each feature file and does not detect any tests at all
When I run cypress run TAGS='@focus' it will go through each feature file but some of the scenarios do not have @focus on them and it will run them anyways however if it gets to a feature file with @focus on the scenarios it will only run those tests
I have tried @ignore and @test and it will run these scenarios anyways
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 2
- Comments: 26 (4 by maintainers)
I have the same experience, I think you need to remove the single quotes from the @sanity tag and run, like this cypress run --env TAGS=@sanity
Thanks for the update @juliomatcom 🙇
Hey we’re seeing this issue too. If we run cypress run --env TAGS=‘@critical’ it instead runs all tags. I’ve got all tags either specified as @sanity or @critical.