Running cypress-parallel directly from command line (not via scripts)
See original GitHub issueIs it possible to run cypress-parallel directly from command line i.e npx cypress-parallel cypress run -t 2 -d cypress/integration/*
?
Reason I ask is that I’m trying to get this working inside a large mono repo and I cannot use scripts.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Command Line - Cypress Documentation
cypress run --parallel Run recorded specs in parallel across multiple machines. You can additionally pass a --group flag so this shows up as...
Read more >Is there any way to run parallel cypress tests on local machine ...
Via my terminal I created multiple files splitting the specs into seperate .command-files like this: echo "cd <PROJECT_DIRECTORY> && npx cypress ...
Read more >Running Cypress tests in parallel in GitHub Actions without ...
It exists because we need to get split * up the tests between multiple runners, but we can't run that script in a...
Read more >How to Run Cypress Tests in Parallel | BrowserStack
Step by step tutorial on running Cypress tests in parallel. Learn how to run Cypress tests on real browsers on the cloud. Read...
Read more >Part 21 - Run Cypress Tests from Command Line - YouTube
In this video I've shown: -1. Run Cypress Tests from Command Line2. Pass Environment Variables from Command Line3. How to specify which spec ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sorry to hear that!There are some good advantages in monorepos too, but yeah I agree that still you have to handle a lot of unexpected issue. BTW, the cypress-multi-reporters not found could be an issue related to cypress-parallel. I’m trying to fix it here: https://github.com/tnicola/cypress-parallel/issues/72 . I’ll keep you up to date just in case you’ll try this again in the future!
That’s a good idea. But then my packages paths are out of sync!
Changing my reporter path in cypress.json doesn’t seem to help:
"reporter": "../node_modules/cypress-multi-reporters",
In fairness this is not an issue with your package, I have your package working nicely in a small personal repo. This is mono-repo madness, and I would still need the main Cypress commands to work too. So I’m gonna have to give up. Thanks for your help @tnicola