aboutsummaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/test/java/com/vaadin/tests/components/datefield/DateFieldFocusTest.java4
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();