cypress run specific test
cypress run --spec 'path/to/files/*.spec.js'
cypress run specific test
cypress run --spec 'path/to/files/*.spec.js'
how to run cypress test
./node_modules/.bin/cypress run // just cypress run wont work
cypress run specific test
cypress run --spec path/to/file.spec.js
how to run cypress test
npm install cypress //takes about 3-5 minutes for entire process
./node_modules/.bin/cypress open // just cypress run wont work
cypress run all files in folder
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.
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us