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] Want to use playwright's build-in reporter (HTML reporter) in python #1296

Open
kisscelia opened this issue May 11, 2022 · 25 comments

Comments

@kisscelia
Copy link

kisscelia commented May 11, 2022

playwright's native HTML report is so good.
can i use it in python?

If i use allure, i can't send an email as an attachment, and pytest-html is simple. :(

Thank you.

@kisscelia
Copy link
Author

linked: microsoft/playwright#14046

@rwoll
Copy link
Member

rwoll commented May 11, 2022

The HTML Reporter is implemented with data generated from Playwright Test (Node.js-only at the moment).

playwright's native HTML report is so good.

😄

Adding P3-collecting-feedback label. While this won't work out of the box today, the HTML Report could theoretically be extracted out from Playwright Test and be integrated with data generated from pytest (via a custom reporter https://docs.pytest.org/en/6.2.x/reference.html?highlight=report#id59).

@rwoll rwoll removed the triaging label May 11, 2022
@mandras73
Copy link

Any progress on this? It is really sad to see that less improvements happened for python...

@sqanatoliy
Copy link

it would be really great to get Playwright-HTML Reporter for Pytest

@Romarionijim
Copy link

is there an update on this matter?
it will really be helpful if we could get a built in report that includes screenshots and videos for pytest just like in typescript.

@mandras73
Copy link

Check out https://allurereport.org/docs/pytest/
Example report https://allure-examples.github.io/allure-python-pytest

@BMacLinden
Copy link

Our team is looking to switch from Node Playwright to the Python one, but the lack of quality in the report is a big issue. Hard to not have something as solid as what is returned in the Node Playwright version. Big +1 for adding this.

@mikedTilia
Copy link

Second this request. Big loss to not have same level reporters for python.

@kisscelia
Copy link
Author

allure has single file mode now.
allure-framework/allure2#2072
👍

we can send email in this mode.

But, i also want to use playwright's native HTML report. 😺

@AlexKomanov
Copy link

AlexKomanov commented Jan 29, 2024

I also will be happy to see a built-in HTML report for the python version.

@Mshumaman
Copy link

Mshumaman commented Jan 29, 2024

I also would love to see a built-in HTML report for the python version. Seems that in our area the most common programming language for UI automation is Python. It would help choosing this framework over the competitors

@36const
Copy link

36const commented Feb 3, 2024

It really would be very nice, please add such functional in the python version

@bklyuka
Copy link

bklyuka commented Feb 3, 2024

Agreed. Would be good to have it

@Herbert-CN
Copy link

Agree

@arsss23
Copy link

arsss23 commented Feb 6, 2024

Would love to have html reports for python as well.

@Wolvortex
Copy link

would be Amazing ❤

@devi-kfuse
Copy link

+1. Please support HTML reports for python

@nileshfriendbuy
Copy link

nileshfriendbuy commented Apr 5, 2024

+1 for native HTML reports, something similar to pytest-html should be sufficient as well

@systembell
Copy link

This would be a fantastic feature, +1

@moh-nex
Copy link

moh-nex commented Apr 30, 2024

+1 for native HTML reporter for Python!

@AR-RIFAT
Copy link

+1

1 similar comment
@Hacktivist668
Copy link

+1

@dsidler88
Copy link

This would be a valuable addition. Allure's single-file mode is better than what we had. But not ideal. Still need to install Allure and the file is large. The native playwright report would be a big improvement.

@Romarionijim
Copy link

Romarionijim commented Jun 16, 2024

this is open since may 2022 and there is high demand for it, when will this ever get picked up? we want html report for playwright python just like the nodejs version.

@io-ma
Copy link

io-ma commented Jun 24, 2024

I would like to be able to upload the html report in Github actions as an artifact. I think this would be very useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests