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

Can the default steps be disabled from allure-playwright reports?

Open autTestUser opened this issue 2 years ago • 7 comments

We would like to add our own steps in allure reports using "test.step" instead of having the built-in detailed steps which are already added by the playwright for every browser action performed. Is there a way to disable it?

autTestUser avatar May 09 '22 05:05 autTestUser

Any updates on this?

autTestUser avatar May 11 '22 07:05 autTestUser

I also want to know about this. I would like to customize the reporter. For instance, I don't want to have every browser action in the report as a step or attach every stdout

Agustin-DeLuca avatar May 23 '22 02:05 Agustin-DeLuca

any updates ?

StanislavGrishaev avatar Jun 09 '23 13:06 StanislavGrishaev

There is a reporter option called detail. You can set it to false to disable reporting of playwright API calls and only include test.step actions in the report.

See https://github.com/allure-framework/allure-js/tree/master/packages/allure-playwright#reporter-options for details

baev avatar Jun 09 '23 13:06 baev

alright ! thanks for quick response.

StanislavGrishaev avatar Jun 09 '23 13:06 StanislavGrishaev

@autTestUser, @StasGrishaevTutu does the proposed solution solve the initial problem?

epszaw avatar Jul 10 '23 09:07 epszaw

@autTestUser, @StasGrishaevTutu does the proposed solution solve the initial problem?

yep, solution works for me.

StanislavGrishaev avatar Jul 10 '23 09:07 StanislavGrishaev