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

Replaced $timeout by $interval to allow tests with protractor. #44

Closed
wants to merge 1 commit into from

Conversation

cmourouvin
Copy link

See the default issue here : angular/protractor#169

In protractor you can't test message in the toast when you have 'timeout' enabled for it. Protractor is waiting for the timeout to finish to continue and you test is usually after the error display.

@ali-bugdayci
Copy link

Hi,
This solved my problems with the protractor testing angular toaster.

It also seems like a trivial change. Can we merge it?

PS: Github diff shows like too much is changed, but when I check it at the Webstorm, they are mostly space changes. What changed is the $timeout -> $interval

@cmourouvin : it might be better, if you leave the spaces, so that what really changed might be better reflected

@jirikavi
Copy link
Owner

Hi,

Thanks for the PR! I did as you proposed:)

BR,
Jiri

@jirikavi jirikavi closed this Nov 25, 2014
@ali-bugdayci
Copy link

👍

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

Successfully merging this pull request may close these issues.

3 participants