npm cypress install code example
Example 1: update cypress
npm install --save-dev cypress@4.11.0
yarn upgrade cypress@4.11.0
Example 2: install cypress
npm install cypress or npm install cypress --save-dev
./node_modules/.bin/cypress open
Example 3: run cypress
./node_modules/.bin/cypress open
Example 4: install cypress
npm install cypress --save-dev or yarn add cypress --dev
node_modules/.bin/cypress open
or
add "cypress": "cypress open" in your package.json then npm run cypress
Example 5: cypress run all files in folder
I think you're looking for --spec path/to/folder*.js
would run all .js files in all folders under the "subsetA" folder in cypress/integration.