New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reporter still not generating in a single file after sending inline as true and html as false #164
Comments
Can you show exactly how you are passing options? |
under cypress.json "reporter": "mochawesome", |
@adamgruber - any update on this issue ? |
I'm unable to reproduce this. When I run a simple test with the above configuration the output is a single JSON file as expected. If you can create a repo that reproduces the behavior you are seeing then I can try to dig a little deeper. |
i can see single HTML report after combining multiple JSONs but its creating assets folder as well, which unable to display html page on EMAIL Body |
I think the issue is that this library does not read the options from the "meta": {
"mocha": {
"version": "7.0.1"
},
"mochawesome": {
"options": {
"quiet": false,
"reportFilename": "mochawesome",
"saveHtml": false,
"saveJson": true,
"consoleReporter": "spec",
"useInlineDiffs": false,
"code": true
},
"version": "6.2.2"
},
"marge": {
"options": {
"reportTitle": "My test report",
"reportPageTitle": "My test report",
"reportDir": "cypress/results",
"charts": true,
"inline": true,
"showHooks": "always",
"overwrite": false,
"html": false,
"json": true
},
"version": "5.2.0"
}
} @adamgruber Is my assumption correct that the options under the Steps to reproduce: produce a combined Mochawesome JSON file
{
"reporter": "mochawesome",
"reporterOptions": {
"reportTitle": "My test report",
"reportDir": "cypress/results",
"overwrite": false,
"html": false,
"json": true
}
}
Expected behaviour:The Actual behaviour:The |
PS C:\Users\LENOVO\CypressAutomation> npx run cypress:run npm ERR! A complete log of this run can be found in: npm ERR! A complete log of this run can be found in: I have followed the instructions but i keep facing this issue in cypress. |
Reporter still not generating in a single file after sending inline as true
reporter options :
"inline":true
"html":false
still reporter generating asserts folder and when sending an email with the report.html showing blank page
tried mochaawesome version : 6.1.1 and 6.2.2
The text was updated successfully, but these errors were encountered: