Skip to content

Commit

Permalink
fixed compilation and build (#7224)
Browse files Browse the repository at this point in the history
  • Loading branch information
adiohana authored and shs96c committed May 21, 2019
1 parent 65804ea commit e9b1b12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions java/client/test/org/openqa/selenium/devtools/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ java_library(
"//java/client/test/org/openqa/selenium/environment:environment",
"//java/client/test/org/openqa/selenium/testing:test-base",
"//third_party/java/junit:junit",
"//third_party/java/guava:guava"
],
visibility = ["//java/client/test/..."],
)
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public void shouldIncludeRemoteInfoForWrappedDriverTimeout() throws IOException
public void shouldThrowAnExceptionIfTheTimerRunsOut() {
TickingClock clock = new TickingClock();
WebDriverWait wait =
new WebDriverWait(testDriver, Duration.ofSeconds(1), Duration.ofMillis(200), clock, clock);
new WebDriverWait(mockDriver, Duration.ofSeconds(1), Duration.ofMillis(200), clock, clock);

assertThatExceptionOfType(TimeoutException.class)
.isThrownBy(() -> wait.until((d) -> false));
Expand Down

0 comments on commit e9b1b12

Please sign in to comment.