protractor icon indicating copy to clipboard operation
protractor copied to clipboard

Share spec files across multiCapabilities in protractor

Open Milan-kumar opened this issue 10 years ago • 1 comments

How to share spec files across capabilities in protractor:

I tried following but rather than sharing testcases/specs its executing all the test across capabilities:

exports.config = {
    shardTestFiles: true,
    maxSessions: 3,
    specs: ['./testExecution/UserManagement/Login/*.js'],
    verboseMultiSessions: true,
multiCapabilities: [
         {
          browserName : 'internet explorer',
          seleniumAddress: 'http://localhost:4444/wd/hub'
         },
        {
          browserName : 'chrome',
          seleniumAddress: 'http://172.23.230.198:4444/wd/hub'         
        }
]
}

Milan-kumar avatar Nov 24 '16 10:11 Milan-kumar

Hi! This looks like a support question. Please ask your support questions on StackOverflow, Google Group discussion list, or Gitter. For more information please reference https://github.com/angular/protractor/blob/master/CONTRIBUTING.md#questions

Thank you!

cnishina avatar Nov 28 '16 21:11 cnishina