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

Commit bc34323

Browse files
alopezsanchezgkalpak
authored andcommitted
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
1 parent f4ac5c8 commit bc34323

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/tests/base-tag.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ describe('SCE URL policy when base tags are present', function() {
77

88

99
it('allows the page URL (location.href)', function() {
10-
expectToBeTrusted(browser.getLocationAbsUrl(), true);
10+
expectToBeTrusted(browser.getCurrentUrl(), true);
1111
});
1212

1313
it('blocks off-origin URLs', function() {

0 commit comments

Comments
 (0)