Hi Mukesh Bhai, thank you for creating this video and sharing with us. Following the steps in this video, we can easily configure Allure reports in our project. Thank you for sharing 🙂.
Hi Martins Open notepad or any other editor write all the commands that you want to execute Go to file > Save As > "filename.bat" example "run.bat" To execute double click on it.
Hi Mukesh, thank you for sharing the informative video. I'm curious to know if the Allure report generation configuration will work with Playwright BDD cucumber tests.
Hi Mukesh! Can you plz elaborate how we can run this report from Circle CI/CD pipeline and how to save report's tests' run history using the pipeline config.yml commands?
Hello! I do everything like in your video, but when I run the command allure generate allure-results -o allure-report --clean and I have an error zsh: command not found: allure Do I need to install allure via brew on my m1 mac?
@@Mukeshotwani Thanks for the immediate reply, I actually wanted to generate the same allure report in CI/CD assume GitHub actions.How exactly I can have allure binaries in the GitHub actions cloud machine, can you provide me that configuration .yml file for both windows and mac
Hi, 1. When we connect to VPN, allure report is NOT generating as we don’t have local web server access in many companies. 2. If we disconnect VPN and generate report, we can’t be able to attach those test results to our JIRA story as index.html will always blank. It can show results through local web server only. What is the use of implementing this in our framework? Are there any ways to resolve above issues and make use of this report?
Yes, You can add timestamps for each step in Playwright using Allure reports. While Playwright integrates with Allure, it doesn’t automatically add timestamps for each step.but you can customize your test scripts to include timestamps by using a custom reporter or within the step annotations.
Hi Mukesh, I've looked for "how to remove allure test report in playwright" and also read the official documentation but I didn't find the solution. can you help me with some instructions or how-to remove it? because I want to change my playwright's test reporter to another Test Reporter. Thanks in Advance!
Hi Mukesh, I am getting below error when trying to generate an allure report. allure : The term 'allure' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + allure generate allure-results -o allure-report --clean + ~~~~~~ + CategoryInfo : ObjectNotFound: (allure:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException Can you please help me to fix this. I have installed the allure and also executed test with reporter as --reporter=allure-playwright as well
Run: npm install -g allure-commandline --save-dev And if running scripts is disabled on your system. Open PowerShell as an administrator and then change execution policy to remote signed by running the command: Set-ExecutionPolicy RemoteSigned
Hi Mukesh Bhai, thank you for creating this video and sharing with us. Following the steps in this video, we can easily configure Allure reports in our project. Thank you for sharing 🙂.
Thank you so much sir ji. I am happy that you liked this allure report. Allure report is easy to customize and easy to use.
Which reporter you are using?
Love it. Thank you Mukesh.
Thank you so much Abdulla..
thanks brother for such kind of report generation help. it's better graphical way to represent result in front of other.
Thank you Pradip
@@Mukeshotwani brother can you provide a another custom report video link or video, which have better grahical presentation better than Allure report.
You talked about creating a batch file for running the two commands, pls show us how to do that. Thanks
Hi Martins Open notepad or any other editor
write all the commands that you want to execute
Go to file > Save As > "filename.bat" example "run.bat"
To execute double click on it.
Very useful, thanks dude
Glad it helped Sumajanga
Glad it helped
Hi Mukesh, thank you for sharing the informative video. I'm curious to know if the Allure report generation configuration will work with Playwright BDD cucumber tests.
Yes It will Kumar
Hi Mukesh! Can you plz elaborate how we can run this report from Circle CI/CD pipeline and how to save report's tests' run history using the pipeline config.yml commands?
Hello! I do everything like in your video, but when I run the command
allure generate allure-results -o allure-report --clean
and I have an error
zsh: command not found: allure
Do I need to install allure via brew on my m1 mac?
yes i answer for my question. I need install allure on my mac. brew install allure
if i give npx playwright test, it runs only one spec.js why? anyone pls reply me.
please check your config file I have explain this in video ruclips.net/video/y5CnEmwt8L8/видео.html
I am not getting trends section (no graphs). Also history is not appearing (coming empty)
Please check you might have missed some imp configuration. Try again from scratch.
Hi Mukesh Do I really require allure binaries in my windows machine to use allure commands?
Yes else it will not recognise allure command from command prompt
@@Mukeshotwani Thanks for the immediate reply, I actually wanted to generate the same allure report in CI/CD assume GitHub actions.How exactly I can have allure binaries in the GitHub actions cloud machine, can you provide me that configuration .yml file for both windows and mac
Hi,
1. When we connect to VPN, allure report is NOT generating as we don’t have local web server access in many companies.
2. If we disconnect VPN and generate report, we can’t be able to attach those test results to our JIRA story as index.html will always blank. It can show results through local web server only.
What is the use of implementing this in our framework? Are there any ways to resolve above issues and make use of this report?
Hi,
Can we add the timestamp for each steps. Because in my office requested for timestamp as well
Yes, You can add timestamps for each step in Playwright using Allure reports. While Playwright integrates with Allure, it doesn’t automatically add timestamps for each step.but you can customize your test scripts to include timestamps by using a custom reporter or within the step annotations.
Thanks @Mukesh. is there any way to share the link of the report to management as it is local server
Hlo @Mukesh , can we change or customise allure report logo ?
Yes Shikha, you can customised every thing. medium.com/quabityashuance/allure-graphic-configuration-c4fa126d17eb
Hi Mukesh, I've looked for "how to remove allure test report in playwright" and also read the official documentation but I didn't find the solution. can you help me with some instructions or how-to remove it? because I want to change my playwright's test reporter to another Test Reporter. Thanks in Advance!
Hi Mukesh, is there any way to convert allure report or the playwright html report to pdf format? So that it becomes easy to share with anyone?
Found this but looks quite old github.com/eroshenkoam/allure-pdf
Is it possible to get allure report generated based on default cucumber reports generated ?
Yes
Hi Mukesh,
I am getting below error when trying to generate an allure report.
allure : The term 'allure' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of
the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ allure generate allure-results -o allure-report --clean
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (allure:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Can you please help me to fix this.
I have installed the allure and also executed test with reporter as --reporter=allure-playwright as well
I got this fixed. my system was blocking the access to generate report. Given access with PowerShell which resolved the issue.
Run: npm install -g allure-commandline --save-dev
And if running scripts is disabled on your system. Open PowerShell as an administrator and then change execution policy to remote signed by running the command:
Set-ExecutionPolicy RemoteSigned
@@moizahmed4280 thank you for the solution. You are right , my system was blocking the permission.
how do you add trace attachments?
Its added in report
Allure reports is not clearing previous test runs . Please can you explain how to fix this
I save all files for run, and merge it to old files in s3.