Skip to content

Commit 87fe8b7

Browse files
committed
[java] Enabling a few BiDi tests for Firefox
1 parent f437fdd commit 87fe8b7

File tree

4 files changed

+0
-24
lines changed

4 files changed

+0
-24
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +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.FIREFOX;
2423
import static org.openqa.selenium.testing.drivers.Browser.IE;
2524
import static org.openqa.selenium.testing.drivers.Browser.SAFARI;
2625

@@ -50,7 +49,6 @@ public void setUp() {
5049
@NotYetImplemented(SAFARI)
5150
@NotYetImplemented(IE)
5251
@NotYetImplemented(EDGE)
53-
@NotYetImplemented(FIREFOX)
5452
void canCreateAUserContext() {
5553
String userContext = browser.createUserContext();
5654

@@ -63,7 +61,6 @@ void canCreateAUserContext() {
6361
@NotYetImplemented(SAFARI)
6462
@NotYetImplemented(IE)
6563
@NotYetImplemented(EDGE)
66-
@NotYetImplemented(FIREFOX)
6764
void canGetUserContexts() {
6865
String userContext1 = browser.createUserContext();
6966
String userContext2 = browser.createUserContext();
@@ -79,7 +76,6 @@ void canGetUserContexts() {
7976
@NotYetImplemented(SAFARI)
8077
@NotYetImplemented(IE)
8178
@NotYetImplemented(EDGE)
82-
@NotYetImplemented(FIREFOX)
8379
void canRemoveUserContext() {
8480
String userContext1 = browser.createUserContext();
8581
String userContext2 = browser.createUserContext();

java/test/org/openqa/selenium/bidi/network/AddInterceptParametersTest.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +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.FIREFOX;
2423
import static org.openqa.selenium.testing.drivers.Browser.IE;
2524
import static org.openqa.selenium.testing.drivers.Browser.SAFARI;
2625

@@ -48,7 +47,6 @@ public void setUp() {
4847
@NotYetImplemented(SAFARI)
4948
@NotYetImplemented(IE)
5049
@NotYetImplemented(EDGE)
51-
@NotYetImplemented(FIREFOX)
5250
void canAddInterceptPhase() {
5351
try (Network network = new Network(driver)) {
5452
String intercept =
@@ -61,7 +59,6 @@ void canAddInterceptPhase() {
6159
@NotYetImplemented(SAFARI)
6260
@NotYetImplemented(IE)
6361
@NotYetImplemented(EDGE)
64-
@NotYetImplemented(FIREFOX)
6562
void canAddInterceptPhases() {
6663
try (Network network = new Network(driver)) {
6764
String intercept =
@@ -76,7 +73,6 @@ void canAddInterceptPhases() {
7673
@NotYetImplemented(SAFARI)
7774
@NotYetImplemented(IE)
7875
@NotYetImplemented(EDGE)
79-
@NotYetImplemented(FIREFOX)
8076
void canAddStringUrlPattern() {
8177
try (Network network = new Network(driver)) {
8278
String intercept =
@@ -91,7 +87,6 @@ void canAddStringUrlPattern() {
9187
@NotYetImplemented(SAFARI)
9288
@NotYetImplemented(IE)
9389
@NotYetImplemented(EDGE)
94-
@NotYetImplemented(FIREFOX)
9590
void canAddStringUrlPatterns() {
9691
try (Network network = new Network(driver)) {
9792
String intercept =
@@ -109,7 +104,6 @@ void canAddStringUrlPatterns() {
109104
@NotYetImplemented(SAFARI)
110105
@NotYetImplemented(IE)
111106
@NotYetImplemented(EDGE)
112-
@NotYetImplemented(FIREFOX)
113107
void canAddUrlPattern() {
114108
try (Network network = new Network(driver)) {
115109
UrlPattern pattern =
@@ -131,7 +125,6 @@ void canAddUrlPattern() {
131125
@NotYetImplemented(SAFARI)
132126
@NotYetImplemented(IE)
133127
@NotYetImplemented(EDGE)
134-
@NotYetImplemented(FIREFOX)
135128
void canAddUrlPatterns() {
136129
try (Network network = new Network(driver)) {
137130
UrlPattern pattern1 =

java/test/org/openqa/selenium/bidi/network/NetworkCommandsTest.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ public void setUp() {
5959
@NotYetImplemented(SAFARI)
6060
@NotYetImplemented(IE)
6161
@NotYetImplemented(EDGE)
62-
@NotYetImplemented(FIREFOX)
6362
void canAddIntercept() {
6463
try (Network network = new Network(driver)) {
6564
String intercept =
@@ -72,7 +71,6 @@ void canAddIntercept() {
7271
@NotYetImplemented(SAFARI)
7372
@NotYetImplemented(IE)
7473
@NotYetImplemented(EDGE)
75-
@NotYetImplemented(FIREFOX)
7674
void canContinueRequest() throws InterruptedException {
7775
try (Network network = new Network(driver)) {
7876
String intercept =
@@ -107,7 +105,6 @@ void canContinueRequest() throws InterruptedException {
107105
@NotYetImplemented(SAFARI)
108106
@NotYetImplemented(IE)
109107
@NotYetImplemented(EDGE)
110-
@NotYetImplemented(FIREFOX)
111108
void canContinueResponse() throws InterruptedException {
112109
try (Network network = new Network(driver)) {
113110
String intercept =
@@ -137,7 +134,6 @@ void canContinueResponse() throws InterruptedException {
137134
@NotYetImplemented(SAFARI)
138135
@NotYetImplemented(IE)
139136
@NotYetImplemented(EDGE)
140-
@NotYetImplemented(FIREFOX)
141137
void canProvideResponse() throws InterruptedException {
142138
try (Network network = new Network(driver)) {
143139
String intercept =
@@ -202,7 +198,6 @@ void canProvideResponseWithAllParameters() throws InterruptedException {
202198
@NotYetImplemented(SAFARI)
203199
@NotYetImplemented(IE)
204200
@NotYetImplemented(EDGE)
205-
@NotYetImplemented(FIREFOX)
206201
void canRemoveIntercept() {
207202
try (Network network = new Network(driver)) {
208203
String intercept =
@@ -217,7 +212,6 @@ void canRemoveIntercept() {
217212
@NotYetImplemented(SAFARI)
218213
@NotYetImplemented(IE)
219214
@NotYetImplemented(EDGE)
220-
@NotYetImplemented(FIREFOX)
221215
void canContinueWithAuthCredentials() {
222216
try (Network network = new Network(driver)) {
223217
network.addIntercept(new AddInterceptParameters(InterceptPhase.AUTH_REQUIRED));
@@ -237,7 +231,6 @@ void canContinueWithAuthCredentials() {
237231
@NotYetImplemented(SAFARI)
238232
@NotYetImplemented(IE)
239233
@NotYetImplemented(EDGE)
240-
@NotYetImplemented(FIREFOX)
241234
void canContinueWithoutAuthCredentials() {
242235
try (Network network = new Network(driver)) {
243236
network.addIntercept(new AddInterceptParameters(InterceptPhase.AUTH_REQUIRED));
@@ -257,7 +250,6 @@ void canContinueWithoutAuthCredentials() {
257250
@NotYetImplemented(SAFARI)
258251
@NotYetImplemented(IE)
259252
@NotYetImplemented(EDGE)
260-
@NotYetImplemented(FIREFOX)
261253
void canCancelAuth() {
262254
try (Network network = new Network(driver)) {
263255
network.addIntercept(new AddInterceptParameters(InterceptPhase.AUTH_REQUIRED));
@@ -276,7 +268,6 @@ void canCancelAuth() {
276268
@NotYetImplemented(SAFARI)
277269
@NotYetImplemented(IE)
278270
@NotYetImplemented(EDGE)
279-
@NotYetImplemented(FIREFOX)
280271
void canFailRequest() {
281272
try (Network network = new Network(driver)) {
282273
network.addIntercept(new AddInterceptParameters(InterceptPhase.BEFORE_REQUEST_SENT));

java/test/org/openqa/selenium/bidi/storage/StorageCommandsTest.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ public void setUp() {
6868
@NotYetImplemented(IE)
6969
@NotYetImplemented(EDGE)
7070
@NotYetImplemented(CHROME)
71-
@NotYetImplemented(FIREFOX)
7271
public void canGetCookieByName() {
7372
String key = generateUniqueKey();
7473
String value = "set";
@@ -140,7 +139,6 @@ public void canGetCookieInAUserContext() {}
140139
@NotYetImplemented(IE)
141140
@NotYetImplemented(EDGE)
142141
@NotYetImplemented(CHROME)
143-
@NotYetImplemented(FIREFOX)
144142
public void canAddCookie() {
145143
String key = generateUniqueKey();
146144
String value = "foo";
@@ -231,7 +229,6 @@ public void canAddAndGetCookie() {
231229
@NotYetImplemented(IE)
232230
@NotYetImplemented(EDGE)
233231
@NotYetImplemented(CHROME)
234-
@NotYetImplemented(FIREFOX)
235232
public void canGetAllCookies() {
236233
String key1 = generateUniqueKey();
237234
String key2 = generateUniqueKey();
@@ -307,7 +304,6 @@ public void canDeleteCookieWithName() {
307304
@NotYetImplemented(IE)
308305
@NotYetImplemented(EDGE)
309306
@NotYetImplemented(CHROME)
310-
@NotYetImplemented(FIREFOX)
311307
public void testAddCookiesWithDifferentPathsThatAreRelatedToOurs() {
312308
driver.get(appServer.whereIs("/common/animals"));
313309

0 commit comments

Comments
 (0)