Search code examples
angularjsjasmineprotractorjasmine-nodetest-suite

How can i execute more than one script from many files in testsuites using protractor?


I wonder if you can tell me how can i execute more than one script from many files in testsuites using protractor without having the problem of jasmine time out ?

Thanks.


Solution

  • If you want to run more than one script via command line option, then its protractor conf.js --suite name1,name2,name3 etc (no spaces between names).

    Or if you meant how do you specify multiple files in a suite, use * in the path to specify all files in a directory. i.e.

    suites : {
        full: '../tests/suites/*.spec.js', // runs all files ending with .spec.js
    },