I am facing synchronisation issues with my protractor tests and I would like to run my tests in parallel in contrast to my actual settings. In fact at the moment my tests run one after the other. I know how to this with TestsNG not sure how to do it with Jasmin Framework?
相关问题
- I receive the error: cannot find module 'cucum
- “Failed: Error while waiting for Protractor to syn
- Timeout expired waiting for async script on IE 9
- How to test my jQuery plugin with Gulp, Jasmine an
- Element is not clickable at point in headless mode
相关文章
- Protractor webdriver-manager chromedriver update
- Chrome: fake microphone input for test purpose
- Unit test Angular 2 service subject
- Protractor - describe is not defined
- How to run a single test file with Karma/Jasmine?
- What is difference between waitForAngularEnabled a
- spyOn could not find an object to spy upon for sta
- Angular Testing: FormControl valueChanges Observab
You can use both "count" as well "maxInstances" This is what worked best for me ..
this would run 4 tests divided equally(or may not equally) in two different chrome browsers.
Since 0.19.0 version of Protractor, you can run tests in parallel using the
multiCapabilities
option:protractor.conf.js
from Browser setup - Protractor docs
This issue seems to fit your case.
For now, Protractor doesn't allow to set Webdriver
maxSessions
option, there is a more global discussion to include this feature among others.EDIT: multiCapabilities was introduced to run tests in parallel under different browsers, but in your case, you can use it to run multiple instances of the same ;)
To split tests between two browsers,