adamgruber / mochawesome-report-generator

Standalone mochawesome report generator. Just add test data.
MIT License
231 stars 90 forks source link

Failures array empty in report #205

Open ThibCharpy opened 1 year ago

ThibCharpy commented 1 year ago

Describe the bug Hi, i'm using mochawesome report to generate my cypress report data. I observe that there is only suites array that is filled. I was wondering if i miss an option that permit me to fill failures arrays to get directly failures tests and not looping over suites content.

Code Reproduce The repo is private because it's a company repository. But i can give you the command we are using to run mochawesome.: Cypress reporter Config: reporter: "mochawesome", reporterOptions: { reportDir: "src/test/cypress/results", overwrite: false, html: false, json: true, },

Run command :

Expected behavior I expect to get cypress fail test report in results.failures array

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

Additional context Nothing more