-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Random failing tests in waitForAngular (IE11) #1999
Comments
4 seconds seems like a pretty slow timeout for the async script. Have you changed any timeout settings anywhere? Maybe the default for IE is getting set incorrectly in some way. |
There's only one timeout setting in the config and it is set to 60 seconds. Do you see any other suspicious code in the config that could be related? :) |
No, your config looks good to me. We'll investigate! |
Thx! |
I'm having the same problem, is there a way to debug this by ourselves or to send more information about it? |
I too have the same problem. A for loop that works flawlessly in Chrome / Firefox fails with the same message as in OP. Let me know if I can help by providing the test. |
👍 |
Sorry for the delay, I've had a man cold for a couple of days... Here's my test below. It's supposed to create _number of systems, but what happens is in IE the test times out after first iteration (so only one system is created). In Chrome and Firefox the test works fine. Let me know if you need any more info. this.createSystems = function (number) { //create i number of systems
|
I have plenty of flakiness examples (tests that randomly fail) in IE11 but works perfectly in Chrome. I don't think people is using IE11 in production e2e tests, as it is impossible. |
I confirm that the timeout time seems being set randomly:
i've not set any timeout manually, and this number is that low for a timeout and everytime changing. @juliemr maybe the setting used by testForAngular is using a call to a function that is instable during the browser startup? |
Any updates on this issue? I'm running Protractor 3.3.0 and WebDriver 10.0.1 against IE 11 and I'm getting the same result after changing the getPageTimeout property. Thanks! |
After investigation, I cannot get this to reproduce this with the IEDriver 32-bit version. Example:spec config
When using IEDriver 32-bit:
When starting up the same test with IEDriver x64:
Why use 32-bit over x64?This has been reported many times that the 64-bit version (for whatever reason) is much slower than the 32-bit version. We recommend using the 32-bit version to avoid flakiness. How do you know if you are using IEDriver 32-bit? Make sure you use the
In the webdriver-manager logs, you should see the IEDriver 32-bit version with something like
|
We see a lot of random failing tests with Internet Explorer 11. The error message (see also here) always points to a timeout in
Protractor.waitForAngular()
:Do you have any hints? Possibly this is related to #1476.
The text was updated successfully, but these errors were encountered: