BelAn97 / mochawesome-screenshots

This is a fork of Mochawesome(MochawesomePlusPlus) reporter with added screenshots functionality.
7 stars 14 forks source link

mochawesome-screenshots not capturing screenshots #22

Open Mohd-Faisal opened 5 years ago

Mohd-Faisal commented 5 years ago

Hi,

Here are my cypress config options for mocha

"reporter": "mochawesome-screenshots", "reporterOptions": { "reportTitle": "Report", "reportPageTitle": "AutomationReport", "takePassedScreenshot": false, "clearOldScreenshots": true, "uniqueScreenshotNames": true

} I am not getting screenshots for the failed test cases, but HTML report is coming properly. Its even adding screenshot file name in HTML but the screenshots folder is empty.

Can you please help me on how to solve this problem ?

AkashM-addweb commented 3 years ago

Facing the same issue on my end.

As per, I checked, could be an issue in the File path name. Working on it.

yundomiel commented 1 year ago

Hi, I am facing the similar issue. At some time point, mochawesome reporter in HTML has no problem but the screenshots are not captured. How can you define the screenshot folder path?