https://cypress.io logo
yes, so I am passing the following: ``` env: { ....
# e2e-testing
v
yes, so I am passing the following:
Copy code
env: {
...
grepTags: '-flaky+-bug+-notReady+-notReadyForStaging+-notReadyForDesktop',
grepFilterSpecs: true,
},
then the spec file:
Copy code
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:
Copy code
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...