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

[Need Help] Is there an option to configure structure of tests pushed on report portal using agent-js-playwright plugin? #124

Open
venom0107 opened this issue Oct 16, 2023 · 2 comments

Comments

@venom0107
Copy link

venom0107 commented Oct 16, 2023

Hi Folks,

I want to structure the way report is shown over report portal. The way it currently works is Browser Name -> FileName (with File Path) -> test.describe -> tests

Now since the data is shown by Spec Name (File Name in my case), I'm having trouble reviewing the reports.

My folder structure is like this:
Screenshot 2023-10-17 at 1 39 25 AM

What I want is to have the clubbing of test cases based on this folder structure. So if page verification cases are executed, the structure should be like this:

features (shows all subfolders inside report portal with passed/failed cases)
If we drill down, pageVerification should have passed/failed cases visibility, and then if I go deep it should show tests related to dateRangeHistory.spec.ts inside pageVerification.

The current structure is like this on Report Portal:
Screenshot 2023-10-17 at 1 43 46 AM

Is there a way to achieve this by playing around with the plugin implementation, or is any other way possible?

@venom0107
Copy link
Author

Hey @AmsterGet, is the label meant for me to check the UI? And if possible, can you provide some suggestions too.

@AmsterGet
Copy link
Member

AmsterGet commented Nov 1, 2023

Hi @venom0107 !
Thanks for the ticket!
It's label for our internal triaging processes and means that UI team will check the issue (the UI team is responsible for js agents as well as for UI).
In fact I need some time to think about your request and check what capabilities Playwright's reporter system offers to us that can be used to address your request.

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

No branches or pull requests

2 participants