Skip to content

Commit

Permalink
[java] Skipping a few BiDi tests
Browse files Browse the repository at this point in the history
  • Loading branch information
diemol committed Mar 25, 2024
1 parent ff537fe commit 28d0bce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,7 @@ void canCaptureElementScreenshot() {
@NotYetImplemented(SAFARI)
@NotYetImplemented(IE)
@NotYetImplemented(CHROME)
@NotYetImplemented(FIREFOX)
void canScrollAndCaptureElementScreenshot() {
Dimension dimension = new Dimension(300, 300);
driver.manage().window().setSize(dimension);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import static org.openqa.selenium.testing.Safely.safelyCall;
import static org.openqa.selenium.testing.drivers.Browser.CHROME;
import static org.openqa.selenium.testing.drivers.Browser.EDGE;
import static org.openqa.selenium.testing.drivers.Browser.FIREFOX;
import static org.openqa.selenium.testing.drivers.Browser.IE;
import static org.openqa.selenium.testing.drivers.Browser.SAFARI;

Expand Down Expand Up @@ -803,6 +804,7 @@ void canGetRealmInBrowsingContextByType() {
}

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

@Test
@NotYetImplemented(FIREFOX)
void canAddPreloadScriptWithArguments() {
Script script = new Script(driver);
String id =
Expand All @@ -836,6 +839,7 @@ void canAddPreloadScriptWithArguments() {
}

@Test
@NotYetImplemented(FIREFOX)
void canAddPreloadScriptWithChannelOptions() {
Script script = new Script(driver);
SerializationOptions serializationOptions = new SerializationOptions();
Expand All @@ -849,6 +853,7 @@ void canAddPreloadScriptWithChannelOptions() {
}

@Test
@NotYetImplemented(FIREFOX)
void canAddPreloadScriptInASandbox() {
Script script = new Script(driver);
String id = script.addPreloadScript("() => { window.bar=2; }", "sandbox");
Expand Down

0 comments on commit 28d0bce

Please sign in to comment.