Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Add HTML reporter #7062

Closed
kspolam opened this issue Jun 11, 2021 · 14 comments
Closed

[Feature] Add HTML reporter #7062

kspolam opened this issue Jun 11, 2021 · 14 comments
Assignees
Labels
feature-test-runner Playwright test specific issues

Comments

@kspolam
Copy link

kspolam commented Jun 11, 2021

how can we use HTML reporters like allure reports or extent report in playwright/test

@Nav-2d
Copy link
Contributor

Nav-2d commented Jun 11, 2021

Currently, following Reporters are supported in playwright/test.

Also, you can upvote the following feature request to add Allure Reporter: #7034

@mxschmitt
Copy link
Member

@kspolam is a html reporter important for you or would Allure be enough?

@kspolam
Copy link
Author

kspolam commented Jun 11, 2021 via email

@mxschmitt mxschmitt changed the title HTML reports [Feature] Add HTML reporter Jun 11, 2021
@mxschmitt mxschmitt added P3-collecting-feedback feature-test-runner Playwright test specific issues and removed triaging labels Jun 11, 2021
@RichiCoder1
Copy link

Not sure if it'd be the same or a seperate issue, but a Markdown-flavored version would be awesome too

@mxschmitt
Copy link
Member

What would be your use-case for that?

@RichiCoder1
Copy link

RichiCoder1 commented Jun 14, 2021

In a very narrowed down nutshell, often I want to print the output to something like a PR comment or a message thread and those tend to (either directly or indirectly) support markdown messages, but not rich html or native test result formats. A chat-and-GitHub-Actions specific issue though.

@AlexKomanov
Copy link
Contributor

AlexKomanov commented Jun 15, 2021

I'm joining this feature request.
After your amazing update with a test runner - the HTML report is a kind of MUST!

@mpuertao
Copy link

I need report in HTML, thanks, stay tuned

@kspolam
Copy link
Author

kspolam commented Jun 25, 2021

User should be able to access this reporter object in the test function so that I can add multiple steps information.

@adambeben
Copy link

It would be great if HTML report could contain screenshot added on test failure.

@alisterscott
Copy link
Contributor

A HTML reporter similar to jest-stare would be great 👍

https://www.npmjs.com/package/jest-stare

@mstepin
Copy link

mstepin commented Jul 13, 2021

Now that a test runner is available, a HTML reporter feels like an essential friend to have by your side. Should be a quick win and keep the entire community very happy.

@pavelfeldman
Copy link
Member

Initial version added.

@alisterscott
Copy link
Contributor

@pavelfeldman great news - thank you

Would you mind posting an example and when you think this will be in a Playwright version release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-test-runner Playwright test specific issues
Projects
None yet
Development

No branches or pull requests