Closed lefos987 closed 9 years ago
For the error, we'd like to make this easier to debug: https://github.com/angular/protractor/issues/1509
As for what's causing it, it's impossible for me to say without more information about your application. All it means is that there's a javascript error being thrown in the browser. Do your tests run correctly without sharding? Does one test file rely on the other in some implicit way?
Closing as inactive. Please open another issue if you think this is a bug, or ask on stack overflow.
Hi!
In my capabilities I have the following: capabilities: { browserName: 'chrome', shardTestFiles: true, maxInstances: 2 } For simplicity reasons, I just test two specs: ['a.e2e.js', 'b.e2e.js'] When I run protractor one of the tests always fails immediately with the following error: Error while waiting for Protractor to sync with the page: {}
The other test goes on and runs as expected. Any ideas? Thank you!