Skip to content
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

Figure out how to split specs if given a parameter #33

Open
bahmutov opened this issue Mar 22, 2023 · 2 comments
Open

Figure out how to split specs if given a parameter #33

bahmutov opened this issue Mar 22, 2023 · 2 comments

Comments

@bahmutov
Copy link
Owner

How to split specs if the user has used cypress run --spec ... parameter? Related to cypress-io/cypress#26032

@bahmutov
Copy link
Owner Author

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

@tommy-anderson
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants