grunt-protractor-runner icon indicating copy to clipboard operation
grunt-protractor-runner copied to clipboard

Adding multiCapabilities

Open t0mtaylor opened this issue 9 years ago • 3 comments

Seems many have wanted this merged for the past year, can we have it? :)

This PR is updated with Master

See related PR62 for history of this change request https://github.com/teerapap/grunt-protractor-runner/pull/62

t0mtaylor avatar Aug 20 '15 12:08 t0mtaylor

Should I also add the readme changes from PR62 also?

  • multiCapabilities object: multiCapabilities object to be passed to the test. Protractor will run tests in parallel against each set of capabilities.

https://github.com/rrazey/grunt-protractor-runner/commit/b980d1b016417dcb92d4b80da40098ef245a2b3a

t0mtaylor avatar Aug 20 '15 13:08 t0mtaylor

@t0mtaylor is this working in 2.10.1? Maybe I'm reading this wrong but this seems to be checked in on Aug 20 and I don't notice it mentioned in the release notes https://github.com/teerapap/grunt-protractor-runner#release-history

svattenky avatar Sep 30 '15 22:09 svattenky

@t0mtaylor not sure if this PR is just out of date or what, but multiCapabilities is supposed to be an array, not an object: https://github.com/angular/protractor/blob/master/docs/referenceConf.js#L162

The only work around I've been able to find is to define your multiCapabilities in your conf files, instead of the grunt task.

MichaelSitter avatar Jan 13 '16 19:01 MichaelSitter