GithubHelp home page GithubHelp logo

Comments (4)

oskar-szulc avatar oskar-szulc commented on May 19, 2024

As this seems to be an easy fix I'll be happy to submit a PR, as long as it'd be expected behaviour to include the passed --reporter in that generated command.

from cypress-parallel.

tnicola avatar tnicola commented on May 19, 2024

Hi @oskar-szulc, I understand your point. The problem here is that cypress-parallel needs cypress-multi-reporters in order to wrap the results from the parallel threads. If we make the reporter option override it, the library will break in case you will use a different reporter than cypress-multi-reporters.

Cypress has an open issue about this: cypress-io/cypress#6406 if they'll solve this you should be able to get your example working fine.

So a solution here could be adding a new argument containing cypress-multi-reporters path (a bit too customised but it should work). Another solution could be to move cypress-multi-reporters from peerDependencies to dependencies in the library so that it will always be found in the local node_module folder with no need to specify the path.

from cypress-parallel.

joshuajtward avatar joshuajtward commented on May 19, 2024

@tnicola @oskar-szulc I've raised a reasonably simple but clunky PR (#81) which should address this issue until (or if...) Cypress fix it on their end. We've been using this in a local patch for some months now and it works smoothly.

from cypress-parallel.

caseykhuc avatar caseykhuc commented on May 19, 2024

@oskar-szulc Looks like using "--reporterModulePath" parameter should help. I found this in their npm docs.

image

from cypress-parallel.

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.