Reputation: 127
I would like to run my specs across multiple instances of the same browser to cut down on time
multiCapabilities: {
browserName: 'chrome',
maxInstances: 5,
shardTestFiles: true,
},
yet i still keep getting all files run one after another
Upvotes: 0
Views: 144
Reputation: 13712
multiCapabilities
should be an Array, you define it into an object.
multiCapabilities: [{
browserName: 'chrome',
maxInstances: 5,
shardTestFiles: true,
}],
Alternative to use single capabilities, which expect an object.
capabilities: {
browserName: 'chrome',
maxInstances: 5,
shardTestFiles: true,
},
Upvotes: 2