Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #cypress #run #files #folder
ADD COMMENT
Topic
Name
5+4 =