1npm install --save-dev cypress@4.11.0 //replace the version that you want
2
3//yarn
4yarn upgrade cypress@4.11.0
1npm install cypress or npm install cypress --save-dev // Make sure that you have already run npm init
2
3./node_modules/.bin/cypress open //to open cypress window, will take 30 secs
1I think you're looking for --spec path/to/folder/*.js
2
3You can run all the tests in a folder, or even in all subfolders of a folder
4
5example: --spec cypresss/integration/subsetA/**/*.js
6would run all .js files in all folders under the "subsetA" folder in cypress/integration.
7