This repository was archived by the owner on Jul 29, 2024. It is now read-only.
This repository was archived by the owner on Jul 29, 2024. It is now read-only.
Page reload detected during async script #242
Closed
Description
I've just updated protractor to 0.12 and all my IE (9 and 10) tests failed:
Message:
UnknownError: Page reload detected during async script.
It doesn't even load the page:
just an example
it("should display login modal", function() {
ptor = protractor.getInstance();
ptor.get("/");
ptor.driver.executeScript("$.fx.off = true;");
var modal = ptor.findElement(protractor.By.id("login-modal"));
expect(modal.isDisplayed()).toEqual(true);
}, 20000);
It fails on ptor.get - the browser shows up the correct url in address bar, but then it jumps to about:blank, then goes to the next test (same as the first one: showing the correct url but nothing loads into the browser window).
I have like 40 tests and all it does is jumping very fast between tests: showing link / about:blank / showing link / about:blank ...then it fails.
All tests are working correctly on FF.
Metadata
Metadata
Assignees
Labels
No labels