-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Module API: cypress.run is unable to pick a specific test from within the integration folder #14532
Comments
any updates on this? |
The way
So you are typing the command, and it makes sense to use the shell's path to the spec file - this way I can type the spec filename quickly spec-cli.mp4Even if you are outside the Cypress folder, you can use the relative path from the current path this way. For example, if I am in
The same thing happens with spec-option.mp4Finally, I will keep this ticket open:
|
The code for this is done in cypress-io/cypress#14810, but has yet to be released. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Cypress 6.2.1
Simple setup:
cypress.run({ spec: 'gtm/osp/track-ecommerce.events.spec.ts', configFile: 'cypress/config/configFiles/cypress-mobile.json' })
or
cypress.open({ configFile: 'cypress/config/configFiles/cypress-mobile.json' })
When I use cypress.open it correctly finds all the spec files (screenshot)
looking for this specific spec
The text was updated successfully, but these errors were encountered: