Skip to content

Commit 28d0bce

Browse files
committed
[java] Skipping a few BiDi tests
1 parent ff537fe commit 28d0bce

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

java/test/org/openqa/selenium/bidi/browsingcontext/BrowsingContextTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,7 @@ void canCaptureElementScreenshot() {
421421
@NotYetImplemented(SAFARI)
422422
@NotYetImplemented(IE)
423423
@NotYetImplemented(CHROME)
424+
@NotYetImplemented(FIREFOX)
424425
void canScrollAndCaptureElementScreenshot() {
425426
Dimension dimension = new Dimension(300, 300);
426427
driver.manage().window().setSize(dimension);

java/test/org/openqa/selenium/bidi/script/ScriptCommandsTest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import static org.openqa.selenium.testing.Safely.safelyCall;
2323
import static org.openqa.selenium.testing.drivers.Browser.CHROME;
2424
import static org.openqa.selenium.testing.drivers.Browser.EDGE;
25+
import static org.openqa.selenium.testing.drivers.Browser.FIREFOX;
2526
import static org.openqa.selenium.testing.drivers.Browser.IE;
2627
import static org.openqa.selenium.testing.drivers.Browser.SAFARI;
2728

@@ -803,6 +804,7 @@ void canGetRealmInBrowsingContextByType() {
803804
}
804805

805806
@Test
807+
@NotYetImplemented(FIREFOX)
806808
void canAddPreloadScript() throws ExecutionException, InterruptedException, TimeoutException {
807809
Script script = new Script(driver);
808810
String id = script.addPreloadScript("() => {{ console.log('{preload_script_console_text}') }}");
@@ -825,6 +827,7 @@ void canAddPreloadScript() throws ExecutionException, InterruptedException, Time
825827
}
826828

827829
@Test
830+
@NotYetImplemented(FIREFOX)
828831
void canAddPreloadScriptWithArguments() {
829832
Script script = new Script(driver);
830833
String id =
@@ -836,6 +839,7 @@ void canAddPreloadScriptWithArguments() {
836839
}
837840

838841
@Test
842+
@NotYetImplemented(FIREFOX)
839843
void canAddPreloadScriptWithChannelOptions() {
840844
Script script = new Script(driver);
841845
SerializationOptions serializationOptions = new SerializationOptions();
@@ -849,6 +853,7 @@ void canAddPreloadScriptWithChannelOptions() {
849853
}
850854

851855
@Test
856+
@NotYetImplemented(FIREFOX)
852857
void canAddPreloadScriptInASandbox() {
853858
Script script = new Script(driver);
854859
String id = script.addPreloadScript("() => { window.bar=2; }", "sandbox");

0 commit comments

Comments
 (0)