reportportal / agent-js-playwright

Agent to integrate Playwright with ReportPortal.
https://www.npmjs.com/package/@reportportal/agent-js-playwright
Apache License 2.0
33 stars 13 forks source link

EPMRPP-84613 Playwright tags are parsed to the RP's attributes and attached to the tests #133

Closed abdelrhman-arnos closed 6 months ago

abdelrhman-arnos commented 8 months ago

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.

pashidlos commented 6 months ago

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