Skip to content

Conversation

@abdelrhman-arnos
Copy link

@abdelrhman-arnos abdelrhman-arnos commented Mar 4, 2024

The tags from Playwright should be converted into ReportPortal attributes and associated with the respective tests. If the test name carries tags as per the Playwright annotation conventions, these tags need to be included as test attributes in ReportPortal. Conversely, the test name itself should appear in ReportPortal without these tags.

For example, a test titled Test login page @tag should appear in ReportPortal as 'Test login page' with an attribute that reads { value: 'tag' }. Any tests that do not carry tags should be reported in their original format.

Additionally, if the configuration passed to the agent accommodates the grep or grep-invert options, corresponding attributes should be appended to the entire launch entity in ReportPortal.

@AmsterGet AmsterGet changed the title feat: add example tests' tags [DNM] feat: add example tests' tags Mar 8, 2024
@AmsterGet
Copy link
Member

Waiting for reportportal/agent-js-playwright#140 release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants