Skip to content

[Bug]: valid-test-tags rule does not check the test title for tags #392

@cpAdm

Description

@cpAdm

Given you only (dis)allow specefic tags:

{
  "rules": {
    "playwright/valid-test-tags": ["error", { "allowedTags": ["@e2e", "@regression"] }]
  }
}

And have the following test:

import { test } from '@playwright/test';

test('test full report @slow', async ({ page }) => {
  // ...
});

Then no eslint error is thrown.

While expected @slow is checked for validity

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions