Skip to content

Commit 0da0d27

Browse files
committed
Disabling a test if JS is not enabled
1 parent b296684 commit 0da0d27

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

java/client/test/org/openqa/selenium/FrameSwitchingTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,7 @@ public void testJavaScriptShouldExecuteInTheContextOfTheCurrentFrame() {
549549
assertTrue((Boolean) executor.executeScript("return window != window.top"));
550550
}
551551

552+
@JavascriptEnabled
552553
@Test
553554
public void testShouldNotSwitchMagicallyToTheTopWindow() {
554555
String baseUrl = appServer.whereIs("frame_switching_tests/");

0 commit comments

Comments
 (0)