Skip to content

Commit

Permalink
[java] Disable BiDi tests that subscribe to multiple browsing contexts.
Browse files Browse the repository at this point in the history
Browsers are yet to support the functionality.
  • Loading branch information
pujagani committed Dec 7, 2022
1 parent 3832787 commit b529aba
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions java/test/org/openqa/selenium/bidi/LogInspectorTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.WindowType;
Expand Down Expand Up @@ -138,6 +139,7 @@ void canRetrieveStacktraceForALog()
}
}

@Disabled("Until browsers support subscribing to multiple contexts.")
@Test
void canListenToConsoleLogForABrowsingContext()
throws ExecutionException, InterruptedException, TimeoutException {
Expand All @@ -163,6 +165,7 @@ void canListenToConsoleLogForABrowsingContext()
}
}

@Disabled("Until browsers support subscribing to multiple contexts.")
@Test
void canListenToJavascriptLogForABrowsingContext()
throws ExecutionException, InterruptedException, TimeoutException {
Expand All @@ -184,6 +187,7 @@ void canListenToJavascriptLogForABrowsingContext()
}
}

@Disabled("Until browsers support subscribing to multiple contexts.")
@Test
void canListenToJavascriptErrorLogForABrowsingContext()
throws ExecutionException, InterruptedException, TimeoutException {
Expand All @@ -205,6 +209,7 @@ void canListenToJavascriptErrorLogForABrowsingContext()
}
}

@Disabled("Until browsers support subscribing to multiple contexts.")
@Test
void canListenToConsoleLogForMultipleBrowsingContexts()
throws ExecutionException, InterruptedException, TimeoutException {
Expand Down Expand Up @@ -242,6 +247,7 @@ void canListenToConsoleLogForMultipleBrowsingContexts()
}
}

@Disabled("Until browsers support subscribing to multiple contexts.")
@Test
void canListenToJavascriptLogForMultipleBrowsingContexts() throws InterruptedException {
page = server.whereIs("/bidi/logEntryAdded.html");
Expand Down Expand Up @@ -278,6 +284,7 @@ void canListenToJavascriptLogForMultipleBrowsingContexts() throws InterruptedExc
}
}

@Disabled("Until browsers support subscribing to multiple contexts.")
@Test
void canListenToJavascriptErrorLogForMultipleBrowsingContexts() throws InterruptedException {
page = server.whereIs("/bidi/logEntryAdded.html");
Expand Down Expand Up @@ -314,6 +321,7 @@ void canListenToJavascriptErrorLogForMultipleBrowsingContexts() throws Interrupt
}
}

@Disabled("Until browsers support subscribing to multiple contexts.")
@Test
void canListenToAnyTypeOfLogForMultipleBrowsingContexts() throws InterruptedException {
page = server.whereIs("/bidi/logEntryAdded.html");
Expand Down

0 comments on commit b529aba

Please sign in to comment.