-
Notifications
You must be signed in to change notification settings - Fork 88
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
Invalid value undefined supplied to /suites/suites/0/tests/0/timedOut: Boolean #88
Comments
Had to add the line
To the test. Still make no sense why it would fail while it works using mochawesome |
When you use mochawesome to create the report, it does not validate the JSON data because it assumes that the reporter will provide valid data. However, when you use |
So, why is this issue closed? |
To give you more context, I'm merging multiple JSON reports generated by Due to the issue with |
I'm running into this same problem when running from the CLI. It would be nice if this could be reopened, the problem clearly isn't solved. |
The Unfortunately I keep running into scenarios like this. The reporter was initially designed to work only with mocha and is based off of the test object that mocha generates. However there are other libraries that use mocha under the hood so the reporter is compatible but can exhibit unexpected behavior like this. The JSON validation was put in place to ensure that Looking closer, the generated HTML report currently doesn't use the |
Fixed with mochawesome-report-generator 3.1.5 |
Awesome, thanks a bunch! |
it didnt fix for me @adamgruber |
I am getting the above error with the following json
This was generated using Cypress.io, and was unmodified. The HTML is generated just fine if I allow mochawesome to generate the html, however I don't wanna do that I have to do some modifications to the JSON before making the HTML
I am only sending the minimum flags
marge ./json/mochawesome.json -f test --assetsDir=./test/assets
How do I have marge generate the html report?
The text was updated successfully, but these errors were encountered: