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

Figure out how to split specs if given a parameter

Open bahmutov opened this issue 2 years ago • 2 comments

How to split specs if the user has used cypress run --spec ... parameter? Related to https://github.com/cypress-io/cypress/issues/26032

bahmutov avatar Mar 22 '23 19:03 bahmutov

Probably can replace --spec ... with --config specPattern=... equivalent

bahmutov avatar Mar 22 '23 19:03 bahmutov

Can confirm that simply replacing --spec with --config specPattern= equivalent works.

Replaced --spec \"tests/cypress/integration/**/*_spec.*\" with --config specPattern=\"tests/cypress/integration/**/*_spec.*\"

And everything worked as expected.

tommy-anderson avatar Jan 04 '24 20:01 tommy-anderson