Skip to content
This repository was archived by the owner on Jun 14, 2019. It is now read-only.

fix(protractor-$timeout): use $interval service for reply timeouts so pr... #36

Closed
wants to merge 1 commit into from

Conversation

frankwallis
Copy link

...otractor tests can continue

When using protractor for e2e testing it waits for all pending timeouts to complete and only then will it move on to the next test. For this reason it is important to cancel any timeouts which have been set when they are no longer needed. Currently my tests wait for 10 seconds even though they have received the correct response from the event bus.

This change replaces the $timeout service with the $interval service as the $interval service does not prevent protractor from continuing (angular/angular.js#2402)

@knalli
Copy link
Owner

knalli commented Mar 1, 2015

Thank you, picked as eed05bd

@knalli knalli closed this Mar 1, 2015
@knalli knalli added this to the 0.12 milestone Mar 1, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants