Skip to content

playwright-test/(json-reporter) - add tags to suite #24266

Open
@klh

Description

@klh

https://github.com/microsoft/playwright/blob/15b9e5afdb82b2c372ce5dc0adc18540bb950d53/packages/playwright-test/src/reporters/json.ts#L156C7-L156C7

htmlreporter has added support for extracting tags from suite titles (describe("my thing @tag",{}=>())

json reporter should probably do the same.
There is also a valid point in not only extracting them, but also removing them from the title after they have been added to a new tags: [] for the suite

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions