Skip to content

Commit 77c3bf3

Browse files
committed
Enabling more tests in Java
1 parent 06b715e commit 77c3bf3

File tree

3 files changed

+0
-11
lines changed

3 files changed

+0
-11
lines changed

examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,6 @@ void textSetViewport() {
287287
}
288288

289289
@Test
290-
@Disabled("Supported by Firefox Nightly 124")
291290
void textSetViewportWithDevicePixelRatio() {
292291
BrowsingContext browsingContext = new BrowsingContext(driver, driver.getWindowHandle());
293292
driver.get("https://www.selenium.dev/selenium/web/formPage.html");

examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/LocateNodesTest.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,13 @@ public void setup() {
3434
}
3535

3636
@Test
37-
@Disabled
3837
void testCreateABrowsingContextForGivenId() {
3938
String id = driver.getWindowHandle();
4039
BrowsingContext browsingContext = new BrowsingContext(driver, id);
4140
Assertions.assertEquals(id, browsingContext.getId());
4241
}
4342

4443
@Test
45-
@Disabled
4644
void canLocateNodes() {
4745
BrowsingContext browsingContext = new BrowsingContext(driver, driver.getWindowHandle());
4846
driver.get("https://www.selenium.dev/selenium/web/xhtmlTest.html");
@@ -54,7 +52,6 @@ void canLocateNodes() {
5452
}
5553

5654
@Test
57-
@Disabled
5855
void canLocateNodesWithJustLocator() {
5956
BrowsingContext browsingContext = new BrowsingContext(driver, driver.getWindowHandle());
6057
driver.get("https://www.selenium.dev/selenium/web/xhtmlTest.html");
@@ -64,7 +61,6 @@ void canLocateNodesWithJustLocator() {
6461
}
6562

6663
@Test
67-
@Disabled
6864
void canLocateNode() {
6965
BrowsingContext browsingContext = new BrowsingContext(driver, driver.getWindowHandle());
7066
driver.get("https://www.selenium.dev/selenium/web/xhtmlTest.html");
@@ -74,7 +70,6 @@ void canLocateNode() {
7470
}
7571

7672
@Test
77-
@Disabled
7873
void canLocateNodesWithCSSLocator() {
7974
BrowsingContext browsingContext = new BrowsingContext(driver, driver.getWindowHandle());
8075

@@ -93,7 +88,6 @@ void canLocateNodesWithCSSLocator() {
9388
}
9489

9590
@Test
96-
@Disabled
9791
void canLocateNodesWithXPathLocator() {
9892
BrowsingContext browsingContext = new BrowsingContext(driver, driver.getWindowHandle());
9993

@@ -127,7 +121,6 @@ void canLocateNodesWithInnerText() {
127121
}
128122

129123
@Test
130-
@Disabled
131124
void canLocateNodesWithMaxNodeCount() {
132125
BrowsingContext browsingContext = new BrowsingContext(driver, driver.getWindowHandle());
133126

@@ -141,7 +134,6 @@ void canLocateNodesWithMaxNodeCount() {
141134
}
142135

143136
@Test
144-
@Disabled
145137
void canLocateNodesGivenStartNodes() {
146138
String handle = driver.getWindowHandle();
147139
BrowsingContext browsingContext = new BrowsingContext(driver, handle);
@@ -177,7 +169,6 @@ void canLocateNodesGivenStartNodes() {
177169
}
178170

179171
@Test
180-
@Disabled
181172
void canLocateNodesInAGivenSandbox() {
182173
String sandbox = "sandbox";
183174
BrowsingContext browsingContext = new BrowsingContext(driver, driver.getWindowHandle());

examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ public void testAddResidentCredentialNotSupportedWhenAuthenticatorUsesU2FProtoco
134134

135135

136136
@Test
137-
@Disabled("A fix was implemented and will be available in Selenium 4.34.")
138137
public void testCreateAndAddNonResidentialKey() {
139138
VirtualAuthenticatorOptions options = new VirtualAuthenticatorOptions()
140139
.setProtocol(VirtualAuthenticatorOptions.Protocol.U2F)

0 commit comments

Comments
 (0)