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

Cypress update instructions given say to update with npm, even if you're using yarn #2871

Open
silbinarywolf opened this Issue Dec 2, 2018 · 0 comments

Comments

2 participants
@silbinarywolf

silbinarywolf commented Dec 2, 2018

Current behavior:

When I open Cypress and there's a new update, the update instructions tell me to use npm install --save-dev cypress@3.1.2 rather than saying yarn add --dev cypress@3.1.2.

Desired behavior:

If a yarn.lock file is detected instead of a package-lock.json file, the message should given you the yarn instructions.

The location of the update code is found at:

  • packages/desktop-gui/src/update/update-banner.jsx

The location of the code that tests the update banner:

  • integration/update_banner_spec.coffee

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.

Versions

  • 3.1.1

Operating System

Windows 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment