Looking For: I want to run Specs in Parallel.
Tried:
Included in config file:
shardTestFiles : true,
maxInstances: 4
Output I see:
Multiple instances are not opening. Still running in serial.
**CONFIG.js**
exports.config = {
framework: 'jasmine2', //framework Used
seleniumPort: 4444, // selenium port address
specs: ['./Spec/Master.spec.js'], //inside this i have 50 Specs
allScriptsTimeout: 50000,
jasmineNodeOpts: { //jasmine framework details
isVerbose: true,
showColors: true,
includeStackTrace: true,
defaultTimeoutInterval: 260000,
print: function() {}
},
capabilities: {
'browserName':'chrome',
'chromeOptions':{'args':['--disable-extensions']},
shardTestFiles : true,
maxInstances: 4
},
onPrepare: function (config_) { // before starting the actual TC execution, setup the things we define here
require('./Data/waitReady.js');
//browser.manage().window().maximize();
Any help is highly appreciated.