victorious-summer-2999
12/07/2022, 4:34 PMenv: {
...
grepTags: '-flaky+-bug+-notReady+-notReadyForStaging+-notReadyForDesktop',
grepFilterSpecs: true,
},
then the spec file:
it(
'Verify that feature impression event is triggered when the MOV hint is in the viewport',
{tags: [Feature.gtm, Feature.mov, Status.notReady]},
function () {
...
},
);
CLI command:
yarn e2e --command open --env production --platform desktop --locale de_DE --browser chrome --grepTags="-flaky+-bug+-notReady+-notReadyForStaging+-notReadyForDesktop"
the spec above contains tags notReady and it gets executed anyway
@gray-kilobyte-89541
I tried also to replicate a simple test like this:
it('works as an array', { tags: ['@slow', '@smoke'] }, () => {
expect(true).to.be.true
})
it('works as a string', { tags: '@regression' }, () => {
expect(true).to.be.true
})
with command npx cypress open --e2e --env grepTags='@slow @regression --@smoke'
and it executes all tests...