Skip to content

Commit 5be82f7

Browse files
committed
[java] Skipping FederatedCredentialManagementTest tests
1 parent 2031018 commit 5be82f7

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.github/workflows/ci-java.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ jobs:
2222
bazel test //java/test/org/openqa/selenium/chrome:ChromeDriverFunctionalTest `
2323
//java/test/org/openqa/selenium/federatedcredentialmanagement:FederatedCredentialManagementTest `
2424
//java/test/org/openqa/selenium/firefox:FirefoxDriverBuilderTest `
25-
//java/test/org/openqa/selenium/grid/gridui:OverallGridTest `
2625
//java/test/org/openqa/selenium/grid/router:RemoteWebDriverDownloadTest `
2726
//java/test/org/openqa/selenium/remote:RemoteWebDriverBuilderTest `
2827
//java/test/org/openqa/selenium/grid/router:RemoteWebDriverDownloadTest
@@ -44,7 +43,6 @@ jobs:
4443
bazel test //java/test/org/openqa/selenium/chrome:ChromeDriverFunctionalTest-remote \
4544
//java/test/org/openqa/selenium/federatedcredentialmanagement:FederatedCredentialManagementTest \
4645
//java/test/org/openqa/selenium/firefox:FirefoxDriverBuilderTest \
47-
//java/test/org/openqa/selenium/grid/gridui:OverallGridTest \
4846
//java/test/org/openqa/selenium/grid/router:RemoteWebDriverDownloadTest \
4947
//java/test/org/openqa/selenium/remote:RemoteWebDriverBuilderTest \
5048
//java/test/org/openqa/selenium/grid/router:RemoteWebDriverDownloadTest

java/test/org/openqa/selenium/federatedcredentialmanagement/FederatedCredentialManagementTest.java

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
import static org.junit.jupiter.api.Assertions.assertEquals;
2424
import static org.junit.jupiter.api.Assertions.assertNull;
2525
import static org.junit.jupiter.api.Assertions.assertThrows;
26+
import static org.openqa.selenium.testing.drivers.Browser.CHROME;
2627

2728
import java.net.MalformedURLException;
2829
import java.net.URL;
@@ -35,7 +36,7 @@
3536
import org.openqa.selenium.chrome.ChromeOptions;
3637
import org.openqa.selenium.support.ui.WebDriverWait;
3738
import org.openqa.selenium.testing.JupiterTestBase;
38-
import org.openqa.selenium.testing.drivers.Browser;
39+
import org.openqa.selenium.testing.NotYetImplemented;
3940

4041
class FederatedCredentialManagementTest extends JupiterTestBase {
4142

@@ -44,7 +45,7 @@ class FederatedCredentialManagementTest extends JupiterTestBase {
4445

4546
@BeforeEach
4647
public void setup() {
47-
ChromeOptions options = (ChromeOptions) Browser.CHROME.getCapabilities();
48+
ChromeOptions options = (ChromeOptions) CHROME.getCapabilities();
4849
// options.setAcceptInsecureCerts(true);
4950
options.addArguments(
5051
String.format("host-resolver-rules=MAP localhost:443 localhost:%d", getSecurePort()));
@@ -80,6 +81,9 @@ private int getSecurePort() {
8081
}
8182

8283
@Test
84+
@NotYetImplemented(
85+
value = CHROME,
86+
reason = "https://github.com/SeleniumHQ/selenium/pull/12096#issuecomment-2017760822")
8387
void testDismissDialog() {
8488
fedcmDriver.setDelayEnabled(false);
8589
assertNull(fedcmDriver.getFederatedCredentialManagementDialog());
@@ -112,6 +116,9 @@ void testDismissDialog() {
112116
}
113117

114118
@Test
119+
@NotYetImplemented(
120+
value = CHROME,
121+
reason = "https://github.com/SeleniumHQ/selenium/pull/12096#issuecomment-2017760822")
115122
void testSelectAccount() {
116123
fedcmDriver.setDelayEnabled(false);
117124
assertNull(fedcmDriver.getFederatedCredentialManagementDialog());

0 commit comments

Comments
 (0)