You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Tags.MyTag (MyTag is a String value) tagging system. Grep filters and omits tests properly when I use {tags: Tags.MyTag} in my tests but is just filtering but not omitting when I have multiple tags. Ex; {tags: [Tags.MyTag, Tags.MyTag2]}
Desired behavior
Cypress/grep should filter and omit tests even if they have just one or multiple tags in Tags.MyTag way.
Test code to reproduce
describe('My test suite', () => {
it('Test with single tag', { tags: Tags.MyTag }, () => {
// Test code here
});
});
describe('My test suite 2', () => {
it('Test with multiple tags', { tags: [Tags.MyTag, Tags.MyTag2] }, () => {
// Test code here
});
});
Cypress Version
13.13.2
Node version
v20.13.1cypres
Operating System
Windows 11 Pro 22631.4602
Debug Logs
@cypress/grep: filtering using tag(s) "myTag"
@cypress/grep: will omit filtered tests
Could not determine test names in file: path/cypress/tests/e2e/spect1.cy.js
Will run it to let the grep filter the tests
Could not determine test names in file: path/cypress/tests/e2e/spect2.cy.js
Will run it to let the grep filter the tests
Other
No response
The text was updated successfully, but these errors were encountered:
Current behavior
Using Tags.MyTag (MyTag is a String value) tagging system. Grep filters and omits tests properly when I use {tags: Tags.MyTag} in my tests but is just filtering but not omitting when I have multiple tags. Ex; {tags: [Tags.MyTag, Tags.MyTag2]}
Desired behavior
Cypress/grep should filter and omit tests even if they have just one or multiple tags in Tags.MyTag way.
Test code to reproduce
describe('My test suite', () => {
it('Test with single tag', { tags: Tags.MyTag }, () => {
// Test code here
});
});
describe('My test suite 2', () => {
it('Test with multiple tags', { tags: [Tags.MyTag, Tags.MyTag2] }, () => {
// Test code here
});
});
Cypress Version
13.13.2
Node version
v20.13.1cypres
Operating System
Windows 11 Pro 22631.4602
Debug Logs
Other
No response
The text was updated successfully, but these errors were encountered: