Skip to content

Commit

Permalink
[java] Enabling a few BiDi tests for Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
diemol committed Mar 25, 2024
1 parent f437fdd commit 87fe8b7
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import static org.assertj.core.api.AssertionsForClassTypes.assertThat;
import static org.openqa.selenium.testing.Safely.safelyCall;
import static org.openqa.selenium.testing.drivers.Browser.EDGE;
import static org.openqa.selenium.testing.drivers.Browser.FIREFOX;
import static org.openqa.selenium.testing.drivers.Browser.IE;
import static org.openqa.selenium.testing.drivers.Browser.SAFARI;

Expand Down Expand Up @@ -50,7 +49,6 @@ public void setUp() {
@NotYetImplemented(SAFARI)
@NotYetImplemented(IE)
@NotYetImplemented(EDGE)
@NotYetImplemented(FIREFOX)
void canCreateAUserContext() {
String userContext = browser.createUserContext();

Expand All @@ -63,7 +61,6 @@ void canCreateAUserContext() {
@NotYetImplemented(SAFARI)
@NotYetImplemented(IE)
@NotYetImplemented(EDGE)
@NotYetImplemented(FIREFOX)
void canGetUserContexts() {
String userContext1 = browser.createUserContext();
String userContext2 = browser.createUserContext();
Expand All @@ -79,7 +76,6 @@ void canGetUserContexts() {
@NotYetImplemented(SAFARI)
@NotYetImplemented(IE)
@NotYetImplemented(EDGE)
@NotYetImplemented(FIREFOX)
void canRemoveUserContext() {
String userContext1 = browser.createUserContext();
String userContext2 = browser.createUserContext();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import static org.assertj.core.api.AssertionsForClassTypes.assertThat;
import static org.openqa.selenium.testing.Safely.safelyCall;
import static org.openqa.selenium.testing.drivers.Browser.EDGE;
import static org.openqa.selenium.testing.drivers.Browser.FIREFOX;
import static org.openqa.selenium.testing.drivers.Browser.IE;
import static org.openqa.selenium.testing.drivers.Browser.SAFARI;

Expand Down Expand Up @@ -48,7 +47,6 @@ public void setUp() {
@NotYetImplemented(SAFARI)
@NotYetImplemented(IE)
@NotYetImplemented(EDGE)
@NotYetImplemented(FIREFOX)
void canAddInterceptPhase() {
try (Network network = new Network(driver)) {
String intercept =
Expand All @@ -61,7 +59,6 @@ void canAddInterceptPhase() {
@NotYetImplemented(SAFARI)
@NotYetImplemented(IE)
@NotYetImplemented(EDGE)
@NotYetImplemented(FIREFOX)
void canAddInterceptPhases() {
try (Network network = new Network(driver)) {
String intercept =
Expand All @@ -76,7 +73,6 @@ void canAddInterceptPhases() {
@NotYetImplemented(SAFARI)
@NotYetImplemented(IE)
@NotYetImplemented(EDGE)
@NotYetImplemented(FIREFOX)
void canAddStringUrlPattern() {
try (Network network = new Network(driver)) {
String intercept =
Expand All @@ -91,7 +87,6 @@ void canAddStringUrlPattern() {
@NotYetImplemented(SAFARI)
@NotYetImplemented(IE)
@NotYetImplemented(EDGE)
@NotYetImplemented(FIREFOX)
void canAddStringUrlPatterns() {
try (Network network = new Network(driver)) {
String intercept =
Expand All @@ -109,7 +104,6 @@ void canAddStringUrlPatterns() {
@NotYetImplemented(SAFARI)
@NotYetImplemented(IE)
@NotYetImplemented(EDGE)
@NotYetImplemented(FIREFOX)
void canAddUrlPattern() {
try (Network network = new Network(driver)) {
UrlPattern pattern =
Expand All @@ -131,7 +125,6 @@ void canAddUrlPattern() {
@NotYetImplemented(SAFARI)
@NotYetImplemented(IE)
@NotYetImplemented(EDGE)
@NotYetImplemented(FIREFOX)
void canAddUrlPatterns() {
try (Network network = new Network(driver)) {
UrlPattern pattern1 =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ public void setUp() {
@NotYetImplemented(SAFARI)
@NotYetImplemented(IE)
@NotYetImplemented(EDGE)
@NotYetImplemented(FIREFOX)
void canAddIntercept() {
try (Network network = new Network(driver)) {
String intercept =
Expand All @@ -72,7 +71,6 @@ void canAddIntercept() {
@NotYetImplemented(SAFARI)
@NotYetImplemented(IE)
@NotYetImplemented(EDGE)
@NotYetImplemented(FIREFOX)
void canContinueRequest() throws InterruptedException {
try (Network network = new Network(driver)) {
String intercept =
Expand Down Expand Up @@ -107,7 +105,6 @@ void canContinueRequest() throws InterruptedException {
@NotYetImplemented(SAFARI)
@NotYetImplemented(IE)
@NotYetImplemented(EDGE)
@NotYetImplemented(FIREFOX)
void canContinueResponse() throws InterruptedException {
try (Network network = new Network(driver)) {
String intercept =
Expand Down Expand Up @@ -137,7 +134,6 @@ void canContinueResponse() throws InterruptedException {
@NotYetImplemented(SAFARI)
@NotYetImplemented(IE)
@NotYetImplemented(EDGE)
@NotYetImplemented(FIREFOX)
void canProvideResponse() throws InterruptedException {
try (Network network = new Network(driver)) {
String intercept =
Expand Down Expand Up @@ -202,7 +198,6 @@ void canProvideResponseWithAllParameters() throws InterruptedException {
@NotYetImplemented(SAFARI)
@NotYetImplemented(IE)
@NotYetImplemented(EDGE)
@NotYetImplemented(FIREFOX)
void canRemoveIntercept() {
try (Network network = new Network(driver)) {
String intercept =
Expand All @@ -217,7 +212,6 @@ void canRemoveIntercept() {
@NotYetImplemented(SAFARI)
@NotYetImplemented(IE)
@NotYetImplemented(EDGE)
@NotYetImplemented(FIREFOX)
void canContinueWithAuthCredentials() {
try (Network network = new Network(driver)) {
network.addIntercept(new AddInterceptParameters(InterceptPhase.AUTH_REQUIRED));
Expand All @@ -237,7 +231,6 @@ void canContinueWithAuthCredentials() {
@NotYetImplemented(SAFARI)
@NotYetImplemented(IE)
@NotYetImplemented(EDGE)
@NotYetImplemented(FIREFOX)
void canContinueWithoutAuthCredentials() {
try (Network network = new Network(driver)) {
network.addIntercept(new AddInterceptParameters(InterceptPhase.AUTH_REQUIRED));
Expand All @@ -257,7 +250,6 @@ void canContinueWithoutAuthCredentials() {
@NotYetImplemented(SAFARI)
@NotYetImplemented(IE)
@NotYetImplemented(EDGE)
@NotYetImplemented(FIREFOX)
void canCancelAuth() {
try (Network network = new Network(driver)) {
network.addIntercept(new AddInterceptParameters(InterceptPhase.AUTH_REQUIRED));
Expand All @@ -276,7 +268,6 @@ void canCancelAuth() {
@NotYetImplemented(SAFARI)
@NotYetImplemented(IE)
@NotYetImplemented(EDGE)
@NotYetImplemented(FIREFOX)
void canFailRequest() {
try (Network network = new Network(driver)) {
network.addIntercept(new AddInterceptParameters(InterceptPhase.BEFORE_REQUEST_SENT));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ public void setUp() {
@NotYetImplemented(IE)
@NotYetImplemented(EDGE)
@NotYetImplemented(CHROME)
@NotYetImplemented(FIREFOX)
public void canGetCookieByName() {
String key = generateUniqueKey();
String value = "set";
Expand Down Expand Up @@ -140,7 +139,6 @@ public void canGetCookieInAUserContext() {}
@NotYetImplemented(IE)
@NotYetImplemented(EDGE)
@NotYetImplemented(CHROME)
@NotYetImplemented(FIREFOX)
public void canAddCookie() {
String key = generateUniqueKey();
String value = "foo";
Expand Down Expand Up @@ -231,7 +229,6 @@ public void canAddAndGetCookie() {
@NotYetImplemented(IE)
@NotYetImplemented(EDGE)
@NotYetImplemented(CHROME)
@NotYetImplemented(FIREFOX)
public void canGetAllCookies() {
String key1 = generateUniqueKey();
String key2 = generateUniqueKey();
Expand Down Expand Up @@ -307,7 +304,6 @@ public void canDeleteCookieWithName() {
@NotYetImplemented(IE)
@NotYetImplemented(EDGE)
@NotYetImplemented(CHROME)
@NotYetImplemented(FIREFOX)
public void testAddCookiesWithDifferentPathsThatAreRelatedToOurs() {
driver.get(appServer.whereIs("/common/animals"));

Expand Down

0 comments on commit 87fe8b7

Please sign in to comment.