playwright
playwright copied to clipboard
feat: export reporters in `@playwright/test`
I want to extend the built in reporter. It's a lot easier to use playwright
's implementation of the raw
, or json
reporters to build on top of.
This PR changes @playwright/test
's package.json
to export all the Reporters in src/reporters/*.ts
Related Issues: #16089 #11319
@jameslounds Thank you for the PR! Unfortunately, Playwright is not ready to support the stable API of these reporters, so exposing them publicly will not be very useful, as it will often break. Playwright is open-source, so I'd recommend to just copy the reporters you'd like and edit them to your liking. Let me know whether that works for you.
Closing as per above.