We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95be253 commit 16301beCopy full SHA for 16301be
src/ng/directive/booleanAttrs.js
@@ -59,7 +59,14 @@
59
60
element(by.id('link-3')).click();
61
62
- expect(browser.driver.getCurrentUrl()).toMatch(/\/123$/);
+ // At this point, we navigate away from an Angular page, so we need
63
+ // to use browser.driver to get the base webdriver.
64
+
65
+ browser.wait(function() {
66
+ return browser.driver.getCurrentUrl().then(function(url) {
67
+ return url.match(/\/123$/);
68
+ });
69
+ }, 1000, 'page should navigate to /123');
70
});
71
72
it('should execute ng-click but not reload when href empty string and name specified', function() {
0 commit comments