From: Artur Signell Date: Tue, 12 Aug 2014 14:19:33 +0000 (+0300) Subject: Make test more reliable X-Git-Tag: 7.3.0.rc1~11^2~12 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=223670ca8b6f8a89af59b0088bad97fddf2d956a;p=vaadin-framework.git Make test more reliable Change-Id: I16a0000ae506b5aef4f4d44cf0ee7235da14a21a --- diff --git a/uitest/src/com/vaadin/tests/components/datefield/DateFieldChangeResolutionTest.java b/uitest/src/com/vaadin/tests/components/datefield/DateFieldChangeResolutionTest.java index 6820410059..e3c85224c0 100644 --- a/uitest/src/com/vaadin/tests/components/datefield/DateFieldChangeResolutionTest.java +++ b/uitest/src/com/vaadin/tests/components/datefield/DateFieldChangeResolutionTest.java @@ -99,7 +99,10 @@ public class DateFieldChangeResolutionTest extends MultiBrowserTest { } private void checkHeaderAndBody(Resolution resolution, - boolean textFieldIsEmpty) { + boolean textFieldIsEmpty) throws Exception { + // Popup date field has all kinds of strange timers on the + // client side + sleep(100); // Open the popup calendar, perform checks and close the popup. openPopupDateField(); if (resolution.getCalendarField() >= Resolution.MONTH