test(e2e): replace the deprecated browser.getLocationAbsUrl() with browser.getCurrentUrl()

According to angular/protractor#3969, `browser.getLocationAbsUrl()` is
now deprecated and `browser.getCurrentUrl()` should be used instead.

Closes #16053
This commit is contained in:
Alejandro López
2017-06-15 01:09:56 +02:00
committed by George Kalpakas
parent f4ac5c8487
commit bc3432365c
+1 -1
View File
@@ -7,7 +7,7 @@ describe('SCE URL policy when base tags are present', function() {
it('allows the page URL (location.href)', function() {
expectToBeTrusted(browser.getLocationAbsUrl(), true);
expectToBeTrusted(browser.getCurrentUrl(), true);
});
it('blocks off-origin URLs', function() {