multi capabilities not firing multiple instances of browser to run tests in parallel
I want to run my tests in parallel using multiple instances of same browsers. I have this setup, but it doesn't start multiple browsers.
multiCapabilities: [ { browserName: 'chrome', sharedTestFiles: true, maxInstances: 2, count: 1, } ], suites: { samples: ['test1.spec.js','test2.spec.js'] },
With the above setup, I'm expecting protractor to start 2 instances of Chrome, one for each spec in my samples suite. It will run them once only. What ends up happening is that only 1 instance of webdriver is started.
NOTE: If I change count=2, it starts 2 instances of chrome. But, both run the same tests. So, it's repeating them instead of splitting them.
Protractor Version 3.2.2
just noticed it is 'shardTestFiles', not 'SharedTestFiles'. Changed it and it's working. closing.