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

IE Drivers often time out when loading a page #1052

Closed
juliemr opened this issue Jul 9, 2014 · 5 comments
Closed

IE Drivers often time out when loading a page #1052

juliemr opened this issue Jul 9, 2014 · 5 comments

Comments

@juliemr
Copy link
Member

juliemr commented Jul 9, 2014

The errors we see most often with IE driver are

  • timed out waiting for page to load
  • timed out waiting for protractor to sync with page
  • Angular could not be found on the page http://localhost:8081/index.html#/form : retries looking for angular exceeded
  • Error: Error while running testForAngular: Timeout expired waiting for async script
  • Angular could not be found on the page http://localhost:8081/index.html#/form : angular never provided resumeBootstrap
juliemr added a commit to juliemr/protractor that referenced this issue Aug 5, 2014
They fail due to IE flakiness most of the time, see angular#1052.
juliemr added a commit to juliemr/protractor that referenced this issue Aug 5, 2014
They fail due to IE flakiness most of the time, see angular#1052.
juliemr added a commit to juliemr/protractor that referenced this issue Aug 5, 2014
They fail due to IE flakiness most of the time, see angular#1052.
juliemr added a commit to juliemr/protractor that referenced this issue Aug 5, 2014
They fail due to IE flakiness most of the time, see angular#1052.
juliemr added a commit to juliemr/protractor that referenced this issue Aug 5, 2014
They fail due to IE flakiness most of the time, see angular#1052.
juliemr added a commit to juliemr/protractor that referenced this issue Aug 5, 2014
They fail due to IE flakiness most of the time, see angular#1052.
juliemr added a commit to juliemr/protractor that referenced this issue Aug 5, 2014
They fail due to IE flakiness most of the time, see angular#1052.
juliemr added a commit to juliemr/protractor that referenced this issue Aug 5, 2014
They fail due to IE flakiness most of the time, see angular#1052.
juliemr added a commit to juliemr/protractor that referenced this issue Aug 5, 2014
They fail due to IE flakiness most of the time, see angular#1052.
juliemr added a commit that referenced this issue Aug 5, 2014
They fail due to IE flakiness most of the time, see #1052.
@fakewaffle
Copy link

Any update on this? Is what I am doing related? It still times out after 10ms even after changing the threshold. This is what I get:

[Windows 8 - IE10 #10] PID: 9839
[Windows 8 - IE10 #10] Using the selenium server at http://hub.browserstack.com/wd/hub
[Windows 8 - IE10 #10] search
[Windows 8 - IE10 #10]   should have default text in the placeholder - pass
[Windows 8 - IE10 #10] head
[Windows 8 - IE10 #10]   should have a title - pass
[Windows 8 - IE10 #10] Login
[Windows 8 - IE10 #10]   with valid credentials
[Windows 8 - IE10 #10]     should redirect to the home page - fail
[Windows 8 - IE10 #10]
[Windows 8 - IE10 #10]
[Windows 8 - IE10 #10] Failures:
[Windows 8 - IE10 #10]
[Windows 8 - IE10 #10]   1) Login with valid credentials should redirect to the home page
[Windows 8 - IE10 #10]    Message:
[Windows 8 - IE10 #10]      Error: Timed out waiting for page to load after 10ms
[Windows 8 - IE10 #10] Wait timed out after 938ms
[Windows 8 - IE10 #10]    Stacktrace:
[Windows 8 - IE10 #10]      Error: Timed out waiting for page to load after 10ms
[Windows 8 - IE10 #10] Wait timed out after 938ms
[Windows 8 - IE10 #10] ==== async task ====
[Windows 8 - IE10 #10] Timed out waiting for page to load after 10ms
[Windows 8 - IE10 #10] ==== async task ====
[Windows 8 - IE10 #10] Asynchronous test function: afterEach()
[Windows 8 - IE10 #10] Error
[Windows 8 - IE10 #10]     at null.<anonymous> (/Users/justin.morris/Source/platform-public/test/e2e/login/login.js:9:2)
[Windows 8 - IE10 #10]     at Object.<anonymous> (/Users/justin.morris/Source/platform-public/test/e2e/login/login.js:3:1)
[Windows 8 - IE10 #10]
[Windows 8 - IE10 #10] Finished in 66.066 seconds
[Windows 8 - IE10 #10] 3 tests, 5 assertions, 1 failure
[Windows 8 - IE10 #10]
exports.config = {
    'seleniumAddress'   : 'http://hub.browserstack.com/wd/hub',
    'allScriptsTimeout' : 60000,
    'getPageTimeout'    : 60000,
    'baseUrl'           : 'http://localhost:8080',
    'framework'         : 'jasmine',
    'rootElement'       : 'body',
    'multiCapabilities' : capabilities,
    'maxSessions'       : 5,
    'specs'             : [ 'e2e/**/*.js' ],

    'jasmineNodeOpts' : {
        'defaultTimeoutInterval' : 60000,
        'showColors'             : true,
        'includeStackTrace'      : true,
        'isVerbose'              : true
    }
};

@mgol
Copy link
Member

mgol commented Jan 8, 2015

I have 100% reproducibility on the message:

Angular could not be found on the page http://localhost:8500/ : angular never provided resumeBootstrap

in IE11 in my app that otherwise tests fine with Chrome/Firefox (checked on IE11 on Windows 8.1 on BrowserStack).

@afuertes
Copy link

Hi, good morning, i have a problem with ie11, my test is unable to find an element into a header block, works correctly in chrome and firefox. I'm using protractor and jasmine framework.

[ie #3] The last active task was:
[ie #3] WebDriver.findElements(By.id("header-login"))

and exit reason:

[ie #3] timeout: timed out after 30000 msec waiting for spec to complete

cheers

@juliemr
Copy link
Member Author

juliemr commented Apr 2, 2015

See also #1999

@NickTomlin
Copy link
Contributor

We've had issues reproducing this regularly in #1999.

I'm going to close this issue. For anyone that continues to experience issues in IE: please open a new issue with a small reproducible example that we can work on together. That will hopefully keep the discussion focused.

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

No branches or pull requests

5 participants