-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Empty --spec
parameter error message is misleading for Cypress developers
#22328
Comments
What's happening here seems to be a quirk of how we ensure that in the Cypress repo, we run in dev mode. This script runs when The issue is not with the
But within the cypress repo, that last flag ends up receiving Swallowing the This definitely could be better, I'll route this to the team to improve at some point so that it works as expected when developing Cypress, just as is does when using a regular build. But at least for users of Cypress in other projects, this all seems to be working as expected. |
--spec
parameter error message is misleading. --spec
parameter error message is misleading for Cypress developers
@marktnoonan I added "for Cypress Developers" for clarity. |
This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided. |
This issue has been closed due to inactivity. |
Current behavior
When you don't pass anything after
--spec
likeyarn workspace @packages/launchpad cypress:run:e2e --spec
, it shows the error message like below:Cypress is actually installed (or cached in CI). The
--spec
is empty. But the message is really misleading.Desired behavior
Maybe, the message should be changed to
No spec files provided. They should be provided after
--specargument
.Test code to reproduce
In our project root,
yarn workspace @packages/launchpad cypress:run:e2e --spec
Cypress Version
10.1.0
Other
No response
The text was updated successfully, but these errors were encountered: