playwright-python icon indicating copy to clipboard operation
playwright-python copied to clipboard

[Feature] Want to use playwright's build-in reporter (HTML reporter) in python

Open kisscelia opened this issue 2 years ago • 25 comments

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 avatar May 11 '22 00:05 kisscelia

linked: https://github.com/microsoft/playwright/issues/14046

kisscelia avatar May 11 '22 00:05 kisscelia

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 avatar May 11 '22 05:05 rwoll

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

mandras73 avatar Sep 09 '23 09:09 mandras73

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

sqanatoliy avatar Sep 09 '23 10:09 sqanatoliy

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.

Romarionijim avatar Dec 07 '23 16:12 Romarionijim

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

mandras73 avatar Dec 07 '23 17:12 mandras73

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.

BMacLinden avatar Jan 18 '24 22:01 BMacLinden

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

mikedTilia avatar Jan 18 '24 22:01 mikedTilia

allure has single file mode now. https://github.com/allure-framework/allure2/pull/2072 :+1:

we can send email in this mode.

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

kisscelia avatar Jan 23 '24 01:01 kisscelia

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

AlexKomanov avatar Jan 29 '24 12:01 AlexKomanov

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

Mshumaman avatar Jan 29 '24 12:01 Mshumaman

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

36const avatar Feb 03 '24 07:02 36const

Agreed. Would be good to have it

bklyuka avatar Feb 03 '24 12:02 bklyuka

Agree

Herbert-CN avatar Feb 04 '24 09:02 Herbert-CN

Would love to have html reports for python as well.

arsss23 avatar Feb 06 '24 11:02 arsss23

would be Amazing ❤

Wolvortex avatar Mar 04 '24 19:03 Wolvortex

+1. Please support HTML reports for python

devi-kfuse avatar Mar 08 '24 01:03 devi-kfuse

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

nileshfriendbuy avatar Apr 05 '24 20:04 nileshfriendbuy