allure-js icon indicating copy to clipboard operation
allure-js copied to clipboard

Playwright: beforeAll/afterAll data are added to the part of the first/last test case in the report.

Open DOrlov77 opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe.

For Playwright: beforeAll/afterAll data are shown as an integrative part of the first/last test case in the report. When the setup or teardown is big, it is very confusing to see the duration of the first or last test case to be very big, relative to the other test cases. The second issue: when the setup is failed - the report show the first test case to be failed, which is wrong and sometimes it is taking a time to understand and to catch the real problem.

Describe the solution you'd like

I would expect to see the beforeAll/afterAll report data as independent report entity as the first and the latest steps of the suite respectively.

Describe alternatives you've considered

To make a report clear I add manually the first and last test cases with obvious content and title to make the report structure be clear.

DOrlov77 avatar Mar 05 '23 07:03 DOrlov77

Hello, any reaction so far? ;)

DOrlov77 avatar Mar 16 '23 07:03 DOrlov77