Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E2E testing with Protractor #101

Open
tamlyn opened this issue May 28, 2015 · 2 comments
Open

E2E testing with Protractor #101

tamlyn opened this issue May 28, 2015 · 2 comments

Comments

@tamlyn
Copy link
Contributor

tamlyn commented May 28, 2015

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
Copy link

dehru commented Jul 15, 2015

I'm having this same issue. I'm wondering if there's a way to just tell protractor to move on....

@dehru
Copy link

dehru commented Jul 16, 2015

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;
});

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

No branches or pull requests

2 participants