Issue
I'm just starting to add parallel testing to my config file and I'm running into an issue that I'm having trouble discerning elsewhere if its possible or not from Protractor. My multiCapabilities set up looks like this at the moment:
multiCapabilities:[{
browserName: 'chrome',
name: 'chrome-tests',
count: 1,
shardTestFiles: true,
maxInstances: 1,
suites: {
repeatable: 'example/example.spec.js'
}
}, {
browserName: 'firefox',
name: 'ff-tests',
count: 1,
shardTestFiles: true,
maxInstances: 1,
suites: {
repeatable: 'example/example.spec.js'
}
}],
and it fails with an error message of:
Cannot read property 'repeatable' of undefined
Am I missing something or does multiCapability not support suites running in parallel?
Solution
suites
can only be defined on the upper level in your config. They cannot be capability-specific.
Answered By - alecxe
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.