Giter Site home page Giter Site logo

Comments (8)

adamgruber avatar adamgruber commented on May 24, 2024 2

This is a validation error in the JSON. It comes from a mismatch between the version of mochawesome that created the JSON output and the version of mochawesome-report-generator (marge) that you are using to create the report HTML. Be sure that you are using version 3.X of both for compatibility.

from mochawesome-report-generator.

davthu avatar davthu commented on May 24, 2024 2

I had the same issue when using the generator with wdio-mochawesome-reporter until i found out that the reporter only supports version 2.3.2:

NOTE wdio-mochawesome-reporter is NOT compatible with the 3.x versions of the mochawesome-report-generator

from mochawesome-report-generator.

Devopssquadtechire avatar Devopssquadtechire commented on May 24, 2024

Is there any dependency between mochawesome output and mochawesomereport compilation logic?

from mochawesome-report-generator.

Devopssquadtechire avatar Devopssquadtechire commented on May 24, 2024

I have tried with 3.0.x and 3.1.x
"mochawesome": "^3.0.2",
"mochawesome-report-generator": "^3.0.1",

Am still getting same error. Do you have a JSON output file/format from Mochawesome that I can review , as actually I am not even able to verify if the mochawesome reporter output is properly generating in my case , as that would be the first step to debug.

You can see my sample mochawesome outcome here. Actually I am calling the Mochawesome inside Wdio framework config file.

Invalid value {

"title": "sometitle"",
"fullTitle": "I am logged in as some one",
"timedOut": false,
"duration": 0,
"speed": "fast",
"pass": true,
"fail": false,
"pending": false,
"code": "",
"isRoot": false,
"uuid": "something",
"parentUUID": "something",
"skipped": false,
"isHook": false,
"context": "[{something}]",
"state": "passed",
"err": {}
} supplied to /suites/suites/0/passes/10: String

from mochawesome-report-generator.

tihmatsumoto avatar tihmatsumoto commented on May 24, 2024

@Devopssquadtechire did you find a solution to this problem?

I'm having the same problem, and have tried many possibles solutions to no avail.

from mochawesome-report-generator.

Devopssquadtechire avatar Devopssquadtechire commented on May 24, 2024

@tihmatsumoto - no not at all. Then I have moved to using allure reports.☺
If you come across a solution please feel free to post here.

Best Regards,
Chandrabose

from mochawesome-report-generator.

tihmatsumoto avatar tihmatsumoto commented on May 24, 2024

@Devopssquadtechire Thank you! Might consider moving to allure reports.

from mochawesome-report-generator.

RaghuveerAddagada avatar RaghuveerAddagada commented on May 24, 2024

Thanks, @davthu It worked.

from mochawesome-report-generator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.