Skip to content

Commit 666e225

Browse files
committed
[java] Add a wait to a BiDi DefaultWheelTest which keeps failing in CI
1 parent 45dc304 commit 666e225

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

java/test/org/openqa/selenium/bidi/input/DefaultWheelTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ void shouldScrollFromViewportByGivenAmount() {
146146
.pause(3000)
147147
.getSequences());
148148

149+
wait.until(driver -> driver.findElement(By.name("nested_scrolling_frame")).isDisplayed());
150+
149151
assertTrue(inViewport(footer));
150152
}
151153

0 commit comments

Comments
 (0)