Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DNM] feat: add example tests' tags #50

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

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