Skip to content

Commit

Permalink
Add delay to a flaky test. (#12238)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ansku authored Mar 12, 2021
1 parent 59a7314 commit 9978eec
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,13 @@ public void focus() {
// open DateField popup
dateField.findElement(By.className("v-datefield-button")).click();
waitUntilLoadingIndicatorNotVisible();
// and a bit more
sleep(100);
// close DateField popup
dateField.findElement(By.className("v-datefield-button")).click();
waitUntilLoadingIndicatorNotVisible();
// and a bit more
sleep(100);

assertEquals("1. focused", getLogRow(0));
textField.focus();
Expand Down

0 comments on commit 9978eec

Please sign in to comment.