Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Protractor parallel test using selenium grid #870

Closed
frieman opened this issue May 27, 2014 · 3 comments
Closed

Protractor parallel test using selenium grid #870

frieman opened this issue May 27, 2014 · 3 comments

Comments

@frieman
Copy link

frieman commented May 27, 2014

Hi all,

I have read the #111 Post (Closed), where the last question raised was very relevant:
"@glepretre ... I want to split up my tests across several machines so that I can get a quicker result. multiCapabilities allows you to do that across browsers, but I want to split up my tests even if I'm just using one browser."

Does anyone knows if there was any progress in that direction?

Many thanks,
Omer

@hankduan
Copy link
Contributor

Do something like this:

specs: [
    './*_spec.js'
],
splitTestsBetweenCapabilities: true,
  multiCapabilities: [{
    'browserName': chrome,
    count: 10
}],

note however, that keyword 'count' might be replaced with the keyword 'maxInstances' soon. Also, this feature is in master right now and not yet released.

@frieman
Copy link
Author

frieman commented May 28, 2014

I have tried this, but i saw it doesn't run in parallel but run all the tests on the same browser ten times,

@hankduan
Copy link
Contributor

You need this flag:

splitTestsBetweenCapabilities: true,

Also, like I said, this feature isn't released yet. You need to grab it from master if you want it now, or you can wait for the next release.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants