From: Teemu Suo-Anttila Date: Fri, 10 Jul 2015 08:39:33 +0000 (+0300) Subject: Fix BasicPersonForm test UI notifications to be more stable X-Git-Tag: 7.6.0.alpha3~3^2~17 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ba678430d656a7bfad0582ac4f42c9107a7ae556;p=vaadin-framework.git Fix BasicPersonForm test UI notifications to be more stable Change-Id: I1a50b9dc4dd8e09ac10c38bb2c4ebfdb2ec41dcf --- diff --git a/uitest/src/com/vaadin/tests/fieldgroup/BasicPersonForm.java b/uitest/src/com/vaadin/tests/fieldgroup/BasicPersonForm.java index a223cea6a0..52d3e60af5 100644 --- a/uitest/src/com/vaadin/tests/fieldgroup/BasicPersonForm.java +++ b/uitest/src/com/vaadin/tests/fieldgroup/BasicPersonForm.java @@ -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); }