Обновление Cypress
npm install --save-dev cypress@4.11.0 //replace the version that you want
//yarn
yarn upgrade cypress@4.11.0
Batman
npm install --save-dev cypress@4.11.0 //replace the version that you want
//yarn
yarn upgrade cypress@4.11.0
npm install cypress or npm install cypress --save-dev // Make sure that you have already run npm init
./node_modules/.bin/cypress open //to open cypress window, will take 30 secs
./node_modules/.bin/cypress open
./node_modules/.bin/cypress run // just cypress run wont work
npm install --save-dev cypress@6.4
I think you're looking for --spec path/to/folder/*.js
You can run all the tests in a folder, or even in all subfolders of a folder
example: --spec cypresss/integration/subsetA/**/*.js
would run all .js files in all folders under the "subsetA" folder in cypress/integration.