Skip to content

Commit

Permalink
test: fix hard-coded parameter for newWindow method (#19467)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcollovati authored May 28, 2024
1 parent 576b7b1 commit 2da7e3b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public void preserveOnRefreshUiClosed_weakReferenceCleanedAfterGC() {

private String openPreserveOnRefreshView(WindowType windowType) {
String url = getTestURL().replace("/active-uis", "/preserve");
driver.switchTo().newWindow(WindowType.TAB).get(url);
driver.switchTo().newWindow(windowType).get(url);
return driver.getWindowHandle();
}

Expand Down

0 comments on commit 2da7e3b

Please sign in to comment.