playwright icon indicating copy to clipboard operation
playwright copied to clipboard

[Feature] Step-scoped attachments

Open aposiker opened this issue 3 years ago • 3 comments

In my current project, we starting the migration to Playwright (with playwright-test runner). I've managed to build a decorator function that marks all methods of my Page Object as a test step, but it would be nice if I could add arguments that were passed to the corresponding method as attachments to the step in the report(ideally if it will be also displayed same way in allure HTML report).

aposiker avatar Jan 24 '22 16:01 aposiker

@aposiker Do I understand correctly that you'd like to have attachments to steps rather than test?

aslushnikov avatar Jan 24 '22 22:01 aslushnikov

@aslushnikov yes, that is correct

aposiker avatar Jan 25 '22 07:01 aposiker

BTW this one is the part of https://github.com/microsoft/playwright/issues/14364

baev avatar Aug 09 '22 13:08 baev

Why was this issue closed?

Thank you for your involvement. This issue was closed due to limited engagement (upvotes/activity), lack of recent activity, and insufficient actionability. To maintain a manageable database, we prioritize issues based on these factors.

If you disagree with this closure, please open a new issue and reference this one. More support or clarity on its necessity may prompt a review. Your understanding and cooperation are appreciated.

pavelfeldman avatar Jun 30 '23 18:06 pavelfeldman