Skip to content

Rule to enforce tags usage #227

@maiolica

Description

@maiolica

Would like to use a rule that enforce the usage of tags on each test, see:
https://www.npmjs.com/package/@cypress/grep#filter-with-tags

Ex. wrong code:

it('works as an array', () => {
  expect(true).to.be.true
})

Fixed code:

it('works as an array', { tags: ['config', 'some-other-tag'] }, () => {
  expect(true).to.be.true
})

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions