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

Incompatibility with angular-loading-bar #112

Closed
barroudjo opened this issue Nov 10, 2016 · 4 comments
Closed

Incompatibility with angular-loading-bar #112

barroudjo opened this issue Nov 10, 2016 · 4 comments

Comments

@barroudjo
Copy link

Using all the latest versions, if I attempt to use angular-loading-bar and protractor-http-mock still results in the impossibility to make protractor work.
More precisely, once both libraries have been used, it seems protractor loses control over the browser. When in protractor repl, even a simple browser.getTitle() results in a timeout.

Any idea on this issue ? BTW here's the repo created by someone else to highlight the problem: https://github.com/Crevil/Test-protractor-mock-loading-bar.

@atecarlos
Copy link
Owner

Hi @barroudjo . I apologize I haven't had the time to look into this. Have you been able to make any progress in figuring out a potential solution?

@barroudjo
Copy link
Author

The solution that I used was to "mock-out" angular-loading-bar on protractor tests (by using the possibility to add angular modules from protractor). It's a workaround though, not a real solution. If you found a way to keep the loading bar it'd be great !

@atecarlos
Copy link
Owner

@barroudjo is this the error you are getting?

`Failures:

  1. angular-loading-bar and protractor-http-mock should resolve data with loading bar
    Message:
    Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
    Stack:
    Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
    at ontimeout (timers.js:365:14)
    at tryOnTimeout (timers.js:237:5)
    at Timer.listOnTimeout (timers.js:207:5)`

@atecarlos
Copy link
Owner

@barroudjo this PR addresses an issue with angular loading bar. Hopefully this solves the problem once and for all once it's merged in.

#121

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