Comments (4)
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.
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.
@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.
@oskar-szulc Looks like using "--reporterModulePath" parameter should help. I found this in their npm docs.
from cypress-parallel.
Related Issues (20)
- Spec files are not being split in different threads HOT 5
- Question : Does mochawesome .json not come for parallel runs facing issue , getting an issue in after events (facing this issue in 0.11.0) HOT 1
- Cannot exclude tests with Cypress command arguments (-a)
- Ability to list multiple directories to run HOT 1
- Error at installing because the [email protected] doesn't exists HOT 1
- Support yargs "stop parsing" instead of args flag
- How do I pass environment variable as arguments in command line HOT 4
- Is colors.js still an issue for this repo for anyone else? HOT 2
- There is not enough documentation on how to generate and combine reports with multireporters HOT 1
- TypeError: glob is not a function HOT 1
- Update `mocha` to v10.1.0
- Can we pass unique arguments to each thread? HOT 1
- Retries do not work when using cypress-paralllel HOT 2
- When we have cy-grep implemented to select specific tests, running it via cypress-parallel leads to failure while building report (causing buildkite build to fail)
- Unable to see complete spec name in result table HOT 1
- need to run specific test specs on respective thread. HOT 5
- Is it possible to only regenerate parallel-weights.json when the weights have changed?
- Issue: on successful run of one thread execution jenkins stops complete execution for cypress-parallel. HOT 8
- Cypress retries dont happen with cypress-parallel HOT 1
- Cypress parallel makes output come out in random orders and in a way that makes debugging tests unusable, can this be configured?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cypress-parallel.