playwright icon indicating copy to clipboard operation
playwright copied to clipboard

[Feature] Provide particular `step: TestStep` object to `onStdErr` and `onStdOut` Reporter methods

Open AmsterGet opened this issue 2 years ago • 4 comments

When implementing a custom reporter, I want to associate certain messages and errors with Playwright's test.step at runtime. Therefore, I expect to use the step: TestStep argument in the onStdErr and onStdOut methods to achieve that.

AmsterGet avatar Jun 20 '23 14:06 AmsterGet

Hi there. Are there any plans/updates on this ticket?

AmsterGet avatar Sep 01 '23 11:09 AmsterGet

Hello Playwright team, was there any updates about this suggestion?

Thanks

NSnietol avatar Apr 21 '25 11:04 NSnietol

I would love this to make my report portal reports better. The report portal team mentions they need this to fix this issue. https://github.com/reportportal/agent-js-playwright/issues/172

gleekzorp avatar Jun 12 '25 21:06 gleekzorp

Hi Playwright Team, @aslushnikov @mxschmitt @pavelfeldman @dgozman @yury-s . Thanks for the amazing work on Playwright — it’s a game-changer for UI testing.

We're collaborating with the ReportPortal team to improve reporting. They’re ready to build the integration for steps, but it depends on a small change on Playwright’s side.

Your help with this would unlock a powerful feature many users are asking for. @AmsterGet is happy to provide more details on this friendly ask.

NSnietol avatar Jun 12 '25 21:06 NSnietol