E2E testing with Protractor
tamlyn opened this issue · 2 comments
tamlyn commented
I'm trying to write some end-to-end tests for my application which uses this module. My problem is that Protractor waits for all $http
requests to finish before running the tests. Since the request is intercepted, Protractor just times out:
Timed out waiting for Protractor to synchronize with the page after 11 seconds.
There's a related question on SO but no answers.
Anyone have a strategy for handling this situation?
dehru commented
I'm having this same issue. I'm wondering if there's a way to just tell protractor to move on....
dehru commented
I'm able to use this module, write a protractor test to verify login, using this.
beforeEach(function() {
browser.ignoreSynchronization = true;
});
afterEach(function() {
browser.ignoreSynchronization = false;
});