Allure Report Generation with Cypress Version 13
Vložit
- čas přidán 23. 08. 2024
- Dependencies to install:
--------------------------------------------
npm install --save-dev mocha-allure-reporter allure-commandline
Script for test execution:
-------------------------------------------
"browser:chrome": "npx cypress run --browser=chrome --headed --spec cypress/e2e/advanced-examples/actions.cy.js --reporter mocha-allure-reporter",
Allure report generate script:
-------------------------------------------------------
"report:allure": "allure generate allure-results --clean -o allure-report && allure open allure-report"
#automation #automationtesting #cypressio #nodejs #visualstudiocode #javascript #allurereport #allure #cypressallure
God bless you my friend! Hugs from BR
This saved me a lot of time. Thanks.
Thank you so much for making this video crisp and crystal clear
Thanks mate, great video! Working 100%
Thank you very much!! Right on time when I need it. How to run all tests at the same time when it comes to cypress-cucumber?
I believe that if i change the script to: "browser:chrome": "npx cypress run --browser=chrome --headed --reporter mocha-allure-reporter"
It will run all your tests, in the video he specified a spec that he wanted to test but if don't it will run all of them by default.
Great video, thanks a lot for sharing! How can I add videos and the test steps to my report?
Hi, thank you for the video:) I do not know the reason, but the Allure report does not show the steps, screenshots and videos for the test cases for Cypress version 13. It is successfully generated but with empty data for test cases.
How to fix that?
Can you please re-check the installation process?
i have checked. Now it is not empty but video is never recorded. Seems video recording in Allure is not working for Cypress 13 version.
Thank you so much
How can I make the name of the file created in the Allure-Results folder to be the same with the spec file in cases where I have to run multiple spec file ?
How to add screenshot and videos in allure report
how to maintain the history. How did you posted on that server in the link?
How to generate code coverage report for component testing.
How can we share this allure report ? Because When I share it to another person it shows "Allure report Unknown".
run your test on jenkins and share the jenkins Build
will this work on cypress-parallel?
I have not tried in cypress parallel