Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 9b3961c

Browse files
committed
chore(tests): increase timeout for navigation in ng-href tests to avoid 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.
1 parent af6f943 commit 9b3961c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ng/directive/attrs.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
return browser.driver.getCurrentUrl().then(function(url) {
6767
return url.match(/\/123$/);
6868
});
69-
}, 1000, 'page should navigate to /123');
69+
}, 5000, 'page should navigate to /123');
7070
});
7171
7272
xit('should execute ng-click but not reload when href empty string and name specified', function() {
@@ -94,7 +94,7 @@
9494
return browser.driver.getCurrentUrl().then(function(url) {
9595
return url.match(/\/6$/);
9696
});
97-
}, 1000, 'page should navigate to /6');
97+
}, 5000, 'page should navigate to /6');
9898
});
9999
</file>
100100
</example>

0 commit comments

Comments
 (0)