Closed mudit94 closed 2 years ago
What do you mean by you cant access index.json
?
Please add more info, add your cypress.json
contents
Hello, I was looking in the issues to find an issue like mine. I think this one is related : I don't get .html files but .json files. Is this normal ?
//cypress.json
{ "reporter":"cypress-mochawesome-reporter", "reporterOptions": { "reportDir": "cypress/reports", "charts": true, "reportPageTitle": "My Test Suite", "embeddedScreenshots": true, "inlineAssets": true }, "retries": { "runMode": 2, "openMode" : 2 }, "ignoreTestFiles": [ "variables*", "test*", "url_apiCalls.json" ], "videoCompression": 1, "failOnStatusCode": false }
@adassoul no, you should get an HTML file.
Please add debug: true
to reporterOptions
and add here the log file
@LironEr i am telling you that i did add this option but i don't get the debug log. Where should it be?
In the same folder as your package.json. If you don't find the debug file please create a repo with the problem so I can have a look.
Thanks
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.
Hi Team, I want to include the total test count, passed count and failed count in a email . i am triggering the cypress test from a jenkins/gitlab pipeline I am unable to access index.json created by mochawesome reporter which i want to parse to draft the email