trentrand / cypress-utils

⚙ Easily parallelize and stress-test your Cypress tests
MIT License
25 stars 6 forks source link

Is it possible to use a custom browser like chrome to run the test in different threads? #19

Closed riccardogiorato closed 3 years ago

riccardogiorato commented 3 years ago

Is it possible to use a custom browser like chrome to run the test in different threads?

I tried passing --browser=chrome to cypress-utils command but it's printing an error saying that browser option is not supported. Is there a workaround?

trentrand commented 3 years ago

I believe we'd just need to update cypress-utils to pass-through the parameter.

Someone added support to do this for the Cypress CLI --reporter option, see here: https://github.com/trentrand/cypress-utils/blob/master/index.js#L82-L88

I think a more holistic approach would be to pass-through any unrecognized CLI options to the Cypress CLI.

trentrand commented 3 years ago

Thanks for reporting this issue!

I've published a fix in version 2.3.0. See the release here for more details: https://github.com/trentrand/cypress-utils/releases/tag/v2.3.0