]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fix BasicPersonForm test UI notifications to be more stable
authorTeemu Suo-Anttila <teemusa@vaadin.com>
Fri, 10 Jul 2015 08:39:33 +0000 (11:39 +0300)
committerTeemu Suo-Anttila <teemusa@vaadin.com>
Fri, 10 Jul 2015 08:52:39 +0000 (08:52 +0000)
Change-Id: I1a50b9dc4dd8e09ac10c38bb2c4ebfdb2ec41dcf

uitest/src/com/vaadin/tests/fieldgroup/BasicPersonForm.java

index a223cea6a0b878d69127e711dc92774d22c487af..52d3e60af5dc3d6545e1766ed1c27871f9b9b135 100644 (file)
@@ -131,7 +131,9 @@ public class BasicPersonForm extends AbstractTestUIWithLog {
                 } catch (CommitException e) {
                     msg = "Commit failed: " + e.getMessage();
                 }
-                Notification.show(msg);
+                Notification notification = new Notification(msg);
+                notification.setDelayMsec(Notification.DELAY_FOREVER);
+                notification.show(getPage());
                 log(msg);
 
             }