Skip to content

Commit 77be5c5

Browse files
committed
test(e2e): replace browser.getLocationAbsUrl() deprecated function with browser.getCurrentUrl()
According to angular/protractor#3969, browser.getLocationAbsUrl() is now deprecated and it recommends using browser.getCurrentUrl instead
1 parent e58bcfa commit 77be5c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
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)