Skip to content

Commit b2b4f3d

Browse files
authored
[java][bidi] Remove non-relevant test annotations (#14013)
1 parent 4f457b1 commit b2b4f3d

21 files changed

+1
-406
lines changed

java/test/org/openqa/selenium/bidi/BiDiSessionTest.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,14 @@
1818
package org.openqa.selenium.bidi;
1919

2020
import static org.assertj.core.api.AssertionsForClassTypes.assertThat;
21-
import static org.openqa.selenium.testing.drivers.Browser.IE;
22-
import static org.openqa.selenium.testing.drivers.Browser.SAFARI;
2321

2422
import java.util.Collections;
2523
import org.junit.jupiter.api.Test;
2624
import org.openqa.selenium.testing.JupiterTestBase;
27-
import org.openqa.selenium.testing.NotYetImplemented;
2825

2926
class BiDiSessionTest extends JupiterTestBase {
3027

3128
@Test
32-
@NotYetImplemented(SAFARI)
33-
@NotYetImplemented(IE)
3429
void shouldBeAbleToCreateABiDiSession() {
3530
BiDi biDi = ((HasBiDi) driver).getBiDi();
3631

java/test/org/openqa/selenium/bidi/BiDiTest.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020
import static org.assertj.core.api.AssertionsForClassTypes.assertThat;
2121
import static org.openqa.selenium.testing.Safely.safelyCall;
2222
import static org.openqa.selenium.testing.drivers.Browser.EDGE;
23-
import static org.openqa.selenium.testing.drivers.Browser.IE;
24-
import static org.openqa.selenium.testing.drivers.Browser.SAFARI;
2523

2624
import java.util.concurrent.CompletableFuture;
2725
import java.util.concurrent.ExecutionException;
@@ -54,8 +52,6 @@ public void setUp() {
5452
}
5553

5654
@Test
57-
@NotYetImplemented(SAFARI)
58-
@NotYetImplemented(IE)
5955
@NotYetImplemented(EDGE)
6056
void canNavigateAndListenToErrors()
6157
throws ExecutionException, InterruptedException, TimeoutException {

java/test/org/openqa/selenium/bidi/browser/BrowserCommandsTest.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
import org.openqa.selenium.environment.webserver.AppServer;
3030
import org.openqa.selenium.environment.webserver.NettyAppServer;
3131
import org.openqa.selenium.testing.JupiterTestBase;
32-
import org.openqa.selenium.testing.NotYetImplemented;
3332

3433
class BrowserCommandsTest extends JupiterTestBase {
3534

@@ -44,8 +43,6 @@ public void setUp() {
4443
}
4544

4645
@Test
47-
@NotYetImplemented(SAFARI)
48-
@NotYetImplemented(IE)
4946
void canCreateAUserContext() {
5047
String userContext = browser.createUserContext();
5148

@@ -55,8 +52,6 @@ void canCreateAUserContext() {
5552
}
5653

5754
@Test
58-
@NotYetImplemented(SAFARI)
59-
@NotYetImplemented(IE)
6055
void canGetUserContexts() {
6156
String userContext1 = browser.createUserContext();
6257
String userContext2 = browser.createUserContext();
@@ -69,8 +64,6 @@ void canGetUserContexts() {
6964
}
7065

7166
@Test
72-
@NotYetImplemented(SAFARI)
73-
@NotYetImplemented(IE)
7467
void canRemoveUserContext() {
7568
String userContext1 = browser.createUserContext();
7669
String userContext2 = browser.createUserContext();

java/test/org/openqa/selenium/bidi/browsingcontext/BrowsingContextInspectorTest.java

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ public void setUp() {
4747
}
4848

4949
@Test
50-
@NotYetImplemented(SAFARI)
51-
@NotYetImplemented(IE)
5250
void canListenToWindowBrowsingContextCreatedEvent()
5351
throws ExecutionException, InterruptedException, TimeoutException {
5452
try (BrowsingContextInspector inspector = new BrowsingContextInspector(driver)) {
@@ -69,8 +67,6 @@ void canListenToWindowBrowsingContextCreatedEvent()
6967
}
7068

7169
@Test
72-
@NotYetImplemented(SAFARI)
73-
@NotYetImplemented(IE)
7470
void canListenToBrowsingContextDestroyedEvent()
7571
throws ExecutionException, InterruptedException, TimeoutException {
7672
try (BrowsingContextInspector inspector = new BrowsingContextInspector(driver)) {
@@ -92,8 +88,6 @@ void canListenToBrowsingContextDestroyedEvent()
9288
}
9389

9490
@Test
95-
@NotYetImplemented(SAFARI)
96-
@NotYetImplemented(IE)
9791
void canListenToTabBrowsingContextCreatedEvent()
9892
throws ExecutionException, InterruptedException, TimeoutException {
9993
try (BrowsingContextInspector inspector = new BrowsingContextInspector(driver)) {
@@ -113,8 +107,6 @@ void canListenToTabBrowsingContextCreatedEvent()
113107
}
114108

115109
@Test
116-
@NotYetImplemented(SAFARI)
117-
@NotYetImplemented(IE)
118110
void canListenToDomContentLoadedEvent()
119111
throws ExecutionException, InterruptedException, TimeoutException {
120112
try (BrowsingContextInspector inspector = new BrowsingContextInspector(driver)) {
@@ -131,8 +123,6 @@ void canListenToDomContentLoadedEvent()
131123
}
132124

133125
@Test
134-
@NotYetImplemented(SAFARI)
135-
@NotYetImplemented(IE)
136126
void canListenToBrowsingContextLoadedEvent()
137127
throws ExecutionException, InterruptedException, TimeoutException {
138128
try (BrowsingContextInspector inspector = new BrowsingContextInspector(driver)) {
@@ -149,8 +139,6 @@ void canListenToBrowsingContextLoadedEvent()
149139
}
150140

151141
@Test
152-
@NotYetImplemented(SAFARI)
153-
@NotYetImplemented(IE)
154142
@NotYetImplemented(CHROME)
155143
@NotYetImplemented(EDGE)
156144
void canListenToNavigationStartedEvent()
@@ -169,8 +157,6 @@ void canListenToNavigationStartedEvent()
169157
}
170158

171159
@Test
172-
@NotYetImplemented(SAFARI)
173-
@NotYetImplemented(IE)
174160
void canListenToFragmentNavigatedEvent()
175161
throws ExecutionException, InterruptedException, TimeoutException {
176162
try (BrowsingContextInspector inspector = new BrowsingContextInspector(driver)) {
@@ -191,8 +177,6 @@ void canListenToFragmentNavigatedEvent()
191177
}
192178

193179
@Test
194-
@NotYetImplemented(SAFARI)
195-
@NotYetImplemented(IE)
196180
void canListenToUserPromptOpenedEvent()
197181
throws ExecutionException, InterruptedException, TimeoutException {
198182
try (BrowsingContextInspector inspector = new BrowsingContextInspector(driver)) {
@@ -212,8 +196,6 @@ void canListenToUserPromptOpenedEvent()
212196
}
213197

214198
@Test
215-
@NotYetImplemented(SAFARI)
216-
@NotYetImplemented(IE)
217199
// TODO: This test is flaky for comparing the browsing context id for Chrome and Edge. Fix flaky
218200
// test.
219201
void canListenToUserPromptClosedEvent()

0 commit comments

Comments
 (0)