Skip to content

If you run Cucumber and standard Cypress you cannot use not tags #1116

@PaulDotmatics

Description

@PaulDotmatics

Current behavior

If I have a test like

describe('My First Test', () => {
it('Does not do much!', () => {
expect(true).to.equal(true)
})
})

and also have cucumber scenarios if I run the suite with

cypress open -env TAGS='not @test'

then My first test wont appear in the run at all. If I dont pass -env TAGS='not @test' then they appear

Desired behavior

Should allow the use of not tags and still allow other tests to appear that arent cucumber scenarios

Test code to reproduce

describe('My First Test', () => {
it('Does not do much!', () => {
expect(true).to.equal(true)
})
})

Feature: duckduckgo.com
@test
Scenario: visiting the frontpage
When I visit duckduckgo.com
Then I should see a search bar

Versions

  • Cypress version: 13.5.0
  • Preprocessor version:19.1.0
  • Node version:v20.5.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions