Open RaviThippana opened 1 year ago
Your problems seems to be related to the url to the screenshot. If you look at the broken image url in the report, where is it pointing too? Where is it actually stored and is the url pointing to the correct location?
Also, I consider posting this issue in the mochawesome-screenshot issues page.
I am trying to add screen shot when test fail happens in playwright using Mochawesome-screenshots. Below is my snippet of .mocharc.js module.exports = { reporter: "mochawesome-screenshots", "reporter-option": [ "reportDir=Automation_Reports", "reportName=" + ReportCustomFolderName + "", "overwrite=true", "reportTitle=Automation Test Report", "shortScrFileNames=true", "takePassedScreenshot=false", "clearOldScreenshots= true", "screenshotsFolder=screenshots", ], }; But no screenshots are added in the screenshot folder. And my report is looking like below
Please advise. Thanks in advance