Skip to content

Commit 38caa7c

Browse files
committed
remove redundant secure
1 parent 24142e2 commit 38caa7c

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

java/test/org/openqa/selenium/bidi/emulation/SetTimezoneOverrideTest.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@
3131
import org.openqa.selenium.testing.Ignore;
3232
import org.openqa.selenium.testing.JupiterTestBase;
3333
import org.openqa.selenium.testing.NeedsFreshDriver;
34-
import org.openqa.selenium.testing.NeedsSecureServer;
3534

36-
@NeedsSecureServer
3735
public class SetTimezoneOverrideTest extends JupiterTestBase {
3836
String getTimezoneString(WebDriver driver, String context) {
3937
JavascriptExecutor executor = (JavascriptExecutor) driver;
@@ -56,7 +54,7 @@ void canSetTimezoneOverrideInContext() {
5654
BrowsingContext context = new BrowsingContext(driver, driver.getWindowHandle());
5755
String contextId = context.getId();
5856

59-
String url = appServer.whereIsSecure("blank.html");
57+
String url = appServer.whereIs("blank.html");
6058
context.navigate(url, ReadinessState.COMPLETE);
6159

6260
Emulation emul = new Emulation(driver);
@@ -88,7 +86,7 @@ void canSetTimeZoneOverrideInUserContext() {
8886
driver, new CreateContextParameters(WindowType.TAB).userContext(userContext));
8987
String contextId = context.getId();
9088

91-
String url = appServer.whereIsSecure("blank.html");
89+
String url = appServer.whereIs("blank.html");
9290
context.navigate(url, ReadinessState.COMPLETE);
9391

9492
Emulation emul = new Emulation(driver);
@@ -120,7 +118,7 @@ void canSetTimezoneOverrideUsingOffset() {
120118
BrowsingContext context = new BrowsingContext(driver, driver.getWindowHandle());
121119
String contextId = context.getId();
122120

123-
String url = appServer.whereIsSecure("blank.html");
121+
String url = appServer.whereIs("blank.html");
124122
context.navigate(url, ReadinessState.COMPLETE);
125123

126124
Emulation emul = new Emulation(driver);

0 commit comments

Comments
 (0)