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:
committed by
George Kalpakas
parent
f4ac5c8487
commit
bc3432365c
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user