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

flashAlert directive breaks protractor tests. #27

Open
dmitry-dedukhin opened this issue Mar 4, 2014 · 1 comment
Open

flashAlert directive breaks protractor tests. #27

dmitry-dedukhin opened this issue Mar 4, 2014 · 1 comment
Assignees

Comments

@dmitry-dedukhin
Copy link

Hi!

I've noticed that flashAlert directive uses $timeout to auto-hide alert.
But this cause protractor tests to fail, e.g. when I want to test whether flash is shown, because while the flash is shown protractor can't synchronize with the page waiting for all timeouts to complete.
See protractor's FAQ for details.

So, I propose to use $interval service to support protractor, but this service available only since angular 1.2.0-rc.3.
What do you think about this?

@auser
Copy link

auser commented Apr 27, 2014

+1

@wmluke wmluke self-assigned this May 10, 2014
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

3 participants