cypress-parallel icon indicating copy to clipboard operation
cypress-parallel copied to clipboard

Compatibility with cypress 10

Open MayankArora20 opened this issue 2 years ago • 1 comments

I just updated to cypress 10.0.3 and I realize that when I am using cypress-parallel, its not trying to run few of the excluded pattern files as test. This makes few of the threads go wasted as if I am using -t 5, I am only able to see 3 specs in execution. I am using cypress-parallel 0.9.0. Also, in my cypress.config.ts, I have made few configurations like reporter, etc, but those are not taken up by cypress-parallel.

MayankArora20 avatar Jun 27 '22 15:06 MayankArora20

Hi @MayankArora20! I think there are two issues you are raising here, so I'll try to separate them:

  1. "its not trying to run few of the excluded pattern files as test" - I'm not sure exactly what you mean, but this sounds like expected behaviour, have you ensured that your specPattern and excludeSpecPattern are correct following your migration to Cypress 10.0.3? This module will only parallelize tests by spec file (not by test case) - so if you only have three spec files the most threads you should/can use is -t 3!
  2. As for reporter, what config changes have you made, and what issues are you seeing? Have you tried playing around with the --reporter and --reporterOptions flags?

joshuajtward avatar Jul 20 '22 18:07 joshuajtward