Skip to content
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

Failures array empty in report #205

Open
ThibCharpy opened this issue Nov 23, 2022 · 0 comments
Open

Failures array empty in report #205

ThibCharpy opened this issue Nov 23, 2022 · 0 comments

Comments

@ThibCharpy
Copy link

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 :

  • mochawesome-merge -f $npm_config_input -o $npm_config_output

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):

  • Platform : Running Cypress 10.10.0 on mac and in gitlab-ci using docker images
  • mochawesome version : 7.1.3
  • mochawesome-merge: 4.2.1
  • mochawesome-report-generator: 6.2.0
  • Node version: 12.22.7

Additional context
Nothing more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant