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
Operating System
Windows 10
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.2rather than sayingyarn add --dev cypress@3.1.2.Desired behavior:
If a
yarn.lockfile is detected instead of apackage-lock.jsonfile, the message should given you the yarn instructions.The location of the update code is found at:
packages/desktop-gui/src/update/update-banner.jsxThe location of the code that tests the update banner:
integration/update_banner_spec.coffeeSteps 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
Operating System
Windows 10