Cypress update instructions given say to update with npm, even if you're using yarn #2871
When I open Cypress and there's a new update, the update instructions tell me to use
The location of the update code is found at:
The location of the code that tests the update banner:
Steps to reproduce:
I assume you should be able install Cypress 3.1.1, run it with ``cypress open` and see the update button / with instructions.
The text was updated successfully, but these errors were encountered:
Below are the screen shots, to show my progress. I attached the folders and file that cypress sees when running the tests, and also the code I have changed on my repo.
If you agree that the file yarn.lock is not accessible, as I believe, and we cannot check for it in the way I am trying:
I am happy to do stick with this and find a solution if you think it is the right way. If anyone has any ideas how I can make this marker flag or any feedback that would be great,
For the update check, the
Honestly, it might be better to just show both options in the dialog instead of trying to determine if the user is using yarn:
This issue will be closed to further comment as the exact issue here was resolved and tested.
If you're experiencing a bug similar to this in Cypress, please open a new issue with a fully reproducible example that we can run. There may be a specific edge case with the issue that we need more detail to fix.