-
Notifications
You must be signed in to change notification settings - Fork 125
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
Instead of running tests in parallel it is actually running the same test twice #204
Comments
Do you have your tests in multiple test suites ? |
I'm having the same issue, this is my run command. Looking at the logs, tests are ran on both threads, yielding 2 results. |
I am also facing the same issue. This is happening because once cypress parallel splits the feature files, specPattern config overrides and runs all the files matching the pattern. --spec config value gets updated correctly with the split files. Can we have cypres-parallel generate the specPattern config as well ? If it is same as spec, problem will be solved. |
Hi Team, Is there a way we can achieve this? Would be a very special Christmas Gift for me :) |
Here's the code :
"cy:run": "cypress run --browser chrome --headless",
"cypress-parallel-all": "node_modules/.bin/cypress-parallel -s cy:run -t 2 -d cypress/tests/workflows -m false",
I am using cucumber so I used -m false. Here you can see from the below log
Here's my folder look lik. - > cypress/tests/ admin and cypress/tests/publisher
Also I have cloned the Package cypress-parallel to see the demo but unfortunately whenever I run "ng serve" it throws :
Error: This command is not available when running the Angular CLI outside a workspace.
any walk around here ??I tried installing the angular cli and angular/core and updating npm but nothing seems to be working..
Any Walk around would be super helpful here
The text was updated successfully, but these errors were encountered: