Skip to content

Conversation

@abdelrhman-arnos
Copy link

@abdelrhman-arnos abdelrhman-arnos commented Jan 22, 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.

Copy link
Member

@AmsterGet AmsterGet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also don't forget to cover your changes with tests and update readme file with new section Attributes under Reporting chapter with the guide how to use the feature.

abdelrhman-arnos and others added 3 commits March 6, 2024 15:00
@AmsterGet AmsterGet changed the base branch from develop to feature/EPMRPP-84613-playwright-tags-to-rp-attributes March 8, 2024 14:14
@AmsterGet AmsterGet merged commit e970e5c into reportportal:feature/EPMRPP-84613-playwright-tags-to-rp-attributes Mar 8, 2024
@pashidlos
Copy link

@abdelrhman-arnos thanks for the feature!
@AmsterGet when this gonna be released?

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.

3 participants