-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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 Allure reporter #7034
Comments
The link to allure-js library is obsolete. A new allure-js is here https://github.com/allure-framework/allure-js |
This is possible?->, add screenshots to the report with allure in the version 1.13.0 of @playwright/test |
I would like to second the need for screenshots to the report for each test 'it' statement, for both passing and failing tests. |
For instructions see here: https://github.com/allure-framework/allure-js/blob/master/packages/allure-playwright/README.md |
@pavelfeldman Could you please share JS example ? |
@pavelfeldman |
You have to |
Ok, thanks @JoelEinbinder. Question: Where is the HTML generated? |
allure reports are looking good.. with traces and screenshots also embedded in the report.. still needs to be explore a bit more. |
@mpuertao Then I defined the report (still experimental): Then, performed this command (the path to the directory is up to you): After the test run - the defined folder will be created: But the created results are kind of RAW data. In order to generate a report in the case of the local server, we need to run another command - 'allure generate -o <path-to-output-directory: It will generate a folder with the report files: Then, in order to open the report - we need to open a server with the command 'allure open , as the following: And then - the report will open in the browser: Hope it is clear enough. |
Very thanks @AlexKomanov . I was missing the: allure open. I worked perfect for me. thanks again |
Following @pavelfeldman post, my local allure results were being saved to allure-results (vs allure-result) so for the report to load with results I had to adjust the run commands as
Great work on this, super easy to get allure wired up!!! |
Facing error on ubuntu |
You need to install Allure, see here for instructions: https://docs.qameta.io/allure/ |
Get this error |
Is there any other way to open reports other than |
This is not an Playwright related error, please use the Allure support channels e.g. on their GitHub for that. Allure is required to open an allure report. |
btw https://www.npmjs.com/package/allure-playwright was released |
Hi.. Does anyone know which allure package to use for playwright with jest runner (I AM NOT USING PLAYWRIGHT/TEST RUNNER). I am using jest-allure npm package but it does not take screenshots in failure tests. I am looking for a npm package to generate allure reporting with screenshots for my Playwright + jest runner tests. Any recommendations will be highly appreciated. |
How can I print Execution Environment in Allure report. I am using playwright Test Runner. In Jest runner I am able to get the solution. Can any body help on this. |
See here for instructions: https://github.com/allure-framework/allure-js/blob/master/packages/allure-playwright/README.md
The text was updated successfully, but these errors were encountered: