tnicola / cypress-parallel

Reduce up to 40% your Cypress suite execution time parallelizing the test run on the same machine.
MIT License
560 stars 117 forks source link

Fix: Update staggered start delay thread.js #172

Closed hatseh closed 7 months ago

hatseh commented 10 months ago

We are using Cypress-parallel to run our tests in 6 parallel threads inside a docker image cypress/included 12.14.

But we are facing a random issues (roughly 2/10 runs) where the second thread's command is triggered but doesn't execute any tests, meaning cypress is not even opened.

This seems to be similar to issue #122, but the difference is that the run is not even started. Delaying the staggered threads a bit more seems to solve the issue.