Skip to content

Commit

Permalink
chore(tests): increase timeout for navigation in ng-href tests to avo…
Browse files Browse the repository at this point in the history
…id timeouts

Previously, the timeout for ng-href tests waiting for the url change after a link
was clicked was only 1000 ms. This was causing some flaky timeouts, so increasing
the wait to 5000 ms.
  • Loading branch information
juliemr committed Jul 7, 2014
1 parent af6f943 commit 9b3961c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ng/directive/attrs.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
return browser.driver.getCurrentUrl().then(function(url) {
return url.match(/\/123$/);
});
}, 1000, 'page should navigate to /123');
}, 5000, 'page should navigate to /123');
});
xit('should execute ng-click but not reload when href empty string and name specified', function() {
Expand Down Expand Up @@ -94,7 +94,7 @@
return browser.driver.getCurrentUrl().then(function(url) {
return url.match(/\/6$/);
});
}, 1000, 'page should navigate to /6');
}, 5000, 'page should navigate to /6');
});
</file>
</example>
Expand Down

0 comments on commit 9b3961c

Please sign in to comment.