diff options
Diffstat (limited to 'uitest')
-rw-r--r-- | uitest/src/test/java/com/vaadin/tests/components/datefield/DateFieldFocusTest.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/uitest/src/test/java/com/vaadin/tests/components/datefield/DateFieldFocusTest.java b/uitest/src/test/java/com/vaadin/tests/components/datefield/DateFieldFocusTest.java index 4e05f66c08..fdcd2fced5 100644 --- a/uitest/src/test/java/com/vaadin/tests/components/datefield/DateFieldFocusTest.java +++ b/uitest/src/test/java/com/vaadin/tests/components/datefield/DateFieldFocusTest.java @@ -23,9 +23,13 @@ public class DateFieldFocusTest extends MultiBrowserTest { // 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(); |