How to create Mochawesome report in Cypress? How to create custom report?

preview_player
Показать описание
#cypress #MochawesomeReport #cypressAutomation
+How to create Mochawesome report in Cypress?
+How to create custom report in Cypress?
▬▬▬▬▬▬ In this Video ▶️ ▬▬▬▬▬▬

How to integrate:

1. Add Mochawesome and Mocha to your project:

npm install --save-dev mochawesome
npm install --save-dev mocha
{
"reporter": "mochawesome"
}
3. Run all the test cases and generate mochawesome report:
npx cypress run --reporter mochawesome
4. Or Run a single file/test case and generate report:
npx cypress run --reporter mochawesome --spec path-of-the-specFile

Resources:

▬▬▬▬▬▬ Useful Links 🛠 ▬▬▬▬▬▬

▬▬▬▬▬▬ Connect with us 👋 ▬▬▬▬▬▬
~~~Subscribe to this channel, and press bell icon to get all updated videos on Selenium and Cypress Automation:

~~~ Follow us on Facebook & Twitter to get more updates:

Рекомендации по теме
Комментарии
Автор

✅ Looking forward to connecting with you all and making a difference together!🙏🚀

CodenboxAutomationLab
Автор

Thanks for watching. 🌟 Please hit on LIKE ❤ Share 🔥 SUBSCRIBE for more AMAZING content on every week! 🌟

CodenboxAutomationLab
Автор

Love all of your tutorials. Keep up the good work. Thanks!

sumaiyatrisha
Автор

I am using more than one spec file for test but this method overwrites the previous spec's report so I have only last spec's result. Any solutions?

Elmarath
Автор

What about the report when running more than one test file ? I'm running 2 .js test file, but only see 1 report (the last one).

nicolasma
Автор

Any chance to have a API testing playlist using Cypress ? :) That would be awesome!!!

nicolasma