Skip to content

[java][BiDi]: enable Edge tests for RemoteWebDriverBiDiTest #15412

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Apr 22, 2025
9 changes: 5 additions & 4 deletions java/test/org/openqa/selenium/grid/router/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ LARGE_TESTS = [
"StressTest.java",
]

FIREFOX_CHROME_ONLY_LARGE_TESTS = [
FIREFOX_CHROMIUM_ONLY_LARGE_TESTS = [
"RemoteWebDriverBiDiTest.java",
]

Expand Down Expand Up @@ -78,12 +78,13 @@ java_selenium_test_suite(
)

java_selenium_test_suite(
name = "firefox-chrome-only-large-tests",
name = "firefox-chromium-only-large-tests",
size = "large",
srcs = FIREFOX_CHROME_ONLY_LARGE_TESTS,
srcs = FIREFOX_CHROMIUM_ONLY_LARGE_TESTS,
browsers = [
"firefox",
"chrome",
"edge",
],
deps = [
":support",
Expand All @@ -107,7 +108,7 @@ java_test_suite(
size = "medium",
srcs = glob(
["*Test.java"],
exclude = LARGE_TESTS + FIREFOX_CHROME_ONLY_LARGE_TESTS,
exclude = LARGE_TESTS + FIREFOX_CHROMIUM_ONLY_LARGE_TESTS,
),
tags = [
"requires-network",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
import org.openqa.selenium.remote.Augmenter;
import org.openqa.selenium.remote.RemoteWebDriver;
import org.openqa.selenium.testing.Ignore;
import org.openqa.selenium.testing.NotYetImplemented;
import org.openqa.selenium.testing.drivers.Browser;

class RemoteWebDriverBiDiTest {
Expand Down Expand Up @@ -84,7 +83,6 @@ void setup() {
@Test
@Ignore(IE)
@Ignore(SAFARI)
@NotYetImplemented(EDGE)
void ensureBiDiSessionCreation() {
try (BiDi biDi = ((HasBiDi) driver).getBiDi()) {
BiDiSessionStatus status = biDi.getBidiSessionStatus();
Expand All @@ -96,7 +94,6 @@ void ensureBiDiSessionCreation() {
@Test
@Ignore(IE)
@Ignore(SAFARI)
@NotYetImplemented(EDGE)
void canListenToLogs() throws ExecutionException, InterruptedException, TimeoutException {
driver = new Augmenter().augment(driver);

Expand Down Expand Up @@ -124,7 +121,6 @@ void canListenToLogs() throws ExecutionException, InterruptedException, TimeoutE
@Test
@Ignore(IE)
@Ignore(SAFARI)
@NotYetImplemented(EDGE)
void canNavigateToUrl() {
BrowsingContext browsingContext = new BrowsingContext(driver, WindowType.TAB);

Expand Down