Skip to content

Commit

Permalink
test: wait for input element
Browse files Browse the repository at this point in the history
  • Loading branch information
mcollovati committed Aug 31, 2024
1 parent 20c0c1a commit 0529135
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public void testReload() {
input.setValue("foo");
Assert.assertEquals("foo", input.getPropertyString("value"));
findElement(By.cssSelector("div#reload")).click();
input = $(InputTextElement.class).id("input");
input = waitUntil( d -> $(InputTextElement.class).id("input"));
Assert.assertEquals("", input.getValue());
}

Expand Down

0 comments on commit 0529135

Please sign in to comment.