-
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
Replace cypress open
, cypress run
references with appropriate command
#5019
Comments
Hi. I would like to work on this issue. Can you please confirm if the commands mentioned in the desired behavior are correct? This will be my first open source contribution so I'd appreciate it if you can tell me if I'm doing anything wrong. Thanks. |
@sarthakkundra the only unknown is if |
In yarn 2, there is a |
That's not true, it will execute the package with that binary name in the project, it wont however go download and install cypress globally to then invoke it |
Is this issue still open? If yes, I can work on it! :) |
@Celinarabe PRs are always welcome! |
Update:
File Changes:/update/update-banner.jsx is now ../update/update-instructions.cypress/packages/desktop-gui/src/update/update-instructions.jsx Lines 89 to 90 in 04e854e
The text is now passed to the /lib/errors.coffee is now ../lib/errors.jscypress/packages/server/lib/errors.js Lines 371 to 381 in 04e854e
cypress/packages/server/lib/errors.js Lines 395 to 413 in 04e854e
The command text remains the same here as in the OP issue. Files without changes:####cypress/packages/desktop-gui/src/settings/record-key.jsx
For Further Discussion:These commands might change in the future, therefore I think it might be wise to store the data in an abstracted format so we can avoid this issue arising again. Secondly, would it make sense to incorporate some logic to check for the underlying conditions and then show the relevant command to the user? There is already a component in the |
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:
Cypress recommends users to run
cypress open
orcypress run
in different ways. For example:cypress/packages/desktop-gui/src/update/update-banner.jsx
Lines 82 to 95 in ad70513
cypress/packages/server/lib/errors.coffee
Lines 127 to 132 in ad70513
cypress/packages/desktop-gui/src/runs/runs-list.jsx
Lines 353 to 355 in ad70513
cypress/packages/desktop-gui/src/settings/record-key.jsx
Lines 126 to 131 in ad70513
cypress/packages/server/lib/errors.coffee
Lines 336 to 347 in ad70513
cypress/packages/server/lib/errors.coffee
Lines 362 to 381 in ad70513
cypress/packages/server/lib/errors.coffee
Lines 382 to 401 in ad70513
Desired behavior:
node_modules/.bin
in their$PATH
, recommendcypress [command]
yarn
, recommendyarn cypress [command]
(this works?)npx
, recommendnpx cypress [command]
./node_modules/.bin/cypress [command]
The text was updated successfully, but these errors were encountered: