-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Description
Current behavior
Between versions 5.1.0 and 6.0.0 of @cypress/grep the negative tags (i.e. using -@myTag to exclude tests) has stopped working, and tagged tests are no longer being excluded
Desired behavior
Tag exclusion works as intended
Test code to reproduce
Add it('should not run', { tags: ['@tag']}, () => { expect(true).to.equal(false) }) to a new file
Run cypress with `CYPRESS_grepFilterSpecs=true CYPRESS_grepOmitFiltered=true CYPRESS_grepTags="-@tag"
The test should not be executed
This behavior is broken between 5.1.0 and 6.0.0
Cypress Version
15.10.0
Debug Logs
Other
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels