We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77be5c5 commit 2ff0512Copy full SHA for 2ff0512
docs/content/tutorial/step_08.ngdoc
@@ -83,7 +83,7 @@ HTTP request to an invalid location.
83
query.sendKeys('nexus');
84
85
element.all(by.css('.phones li a')).first().click();
86
- expect(browser.getLocationAbsUrl()).toBe('/phones/nexus-s');
+ expect(browser.getCurrentUrl()).toBe('/phones/nexus-s');
87
});
88
89
...
docs/content/tutorial/step_09.ngdoc
@@ -363,7 +363,7 @@ various URLs and verifying that the correct view was rendered.
363
364
it('should redirect `index.html` to `index.html#!/phones', function() {
365
browser.get('index.html');
366
- expect(browser.getLocationAbsUrl()).toBe('/phones');
+ expect(browser.getCurrentUrl()).toBe('/phones');
367
368
369
0 commit comments