Skip to content

Commit abb85b2

Browse files
committed
[java] reverted the failing unittest
1 parent 2634ecf commit abb85b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

java/test/org/openqa/selenium/devtools/CdpEndpointFinderTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ void shouldReturnUriIfPresent() {
5252
}
5353

5454
@Test
55-
void shouldNotDetectFirefoxDevTools() {
55+
void shouldReturnUriIfPresentAndIsAtTopLevel() {
5656
Capabilities caps =
5757
new Json().toType("{\"moz:debuggerAddress\": \"localhost:93487\" }", Capabilities.class);
5858

5959
Optional<URI> uri = CdpEndpointFinder.getReportedUri("moz:debuggerAddress", caps);
6060

61-
assertThat(uri).isEmpty();
61+
assertThat(uri).contains(URI.create("http://localhost:93487"));
6262
}
6363
}

0 commit comments

Comments
 (0)