Skip to content

Commit

Permalink
[java] disable tests that do not work with JDK HTTP Client
Browse files Browse the repository at this point in the history
  • Loading branch information
titusfortner committed Oct 5, 2023
1 parent 3abe1d2 commit ff5f88e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions java/test/org/openqa/selenium/devtools/DevToolsReuseTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,15 @@

import static org.assertj.core.api.Assertions.assertThat;

import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.remote.Augmenter;

class DevToolsReuseTest extends DevToolsTestBase {

@Test
@Disabled("JDK HTTP Client cannot get reused")
public void shouldBeAbleToCloseDevToolsAndCreateNewInstance() {
WebDriver driver = new Augmenter().augment(this.driver);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
import java.util.stream.Stream;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.Arguments;
import org.junit.jupiter.params.provider.MethodSource;
Expand Down Expand Up @@ -137,6 +138,7 @@ void shouldForwardTextMessageToServer(Supplier<String> values)

@ParameterizedTest
@MethodSource("data")
@Disabled("JDK HTTP Client unable to find valid certificate")
void shouldForwardTextMessageFromServerToLocalEnd(Supplier<String> values)
throws URISyntaxException, InterruptedException {
setFields(values);
Expand Down

0 comments on commit ff5f88e

Please sign in to comment.