Skip to content

[Feature] tags API #23180

Closed
Closed

Description

Currently adding tags is only possible by inserting them into test title, e.g.:

test('Test login page @fast @mobile', async ({ page }) => {
  // ...
});

It may have some downsides for reporting when you get very long titles, see #17375

Suggestion is to introduce test.tags() method that will add tags to current test without altering the title:

test.tags('@fast', '@mobile');
test('Test login page', async ({ page }) => {
  // ...
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions