Protractor multiCapabilities doesn't support suite config?

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?

Answers


suites can only be defined on the upper level in your config. They cannot be capability-specific.


Need Your Help

Internationalization and localization in Rails.

ruby-on-rails localization

I am trying to wrap my head around what localization means here. I've been reading these docs:

NumPy k-th diagonal indices

python numpy indices diagonal

I'd like to do arithmetics with k-th diagonal of a numpy.array. I need those indices.