ssharma
ssharma

Reputation: 941

Is it possible to run Protractor Test Suites in Parallel?

I have protractor config file :

exports.config = {
  suites: {
    BVT : 'e2e/TestSuites/_BVT/*.js',
    Full : 'e2e/TestSuites/Full/**/*.js',
    Smoke : 'e2e/TestSuites/Smoke/*.js',
        Login1 : 'e2e/TestSuites/Login/*.js'
            };
  capabilities: {
     'browserName': 'chrome',
     shardTestFiles: true,
     maxInstances: 3
      };
};

I have tried above but my Test Suite doe not run in parallel, is it possible to run BVT, Full and Smoke Test suites in parallel on chrome browser.

Upvotes: 1

Views: 625

Answers (1)

Bharath Kumar S
Bharath Kumar S

Reputation: 1408

Yes possible for sure. Take a look how i am running regression and sanity in the suites.

protractor Test/config.js --suites regression,sanity

enter image description here

Upvotes: 2

Related Questions