From ba678430d656a7bfad0582ac4f42c9107a7ae556 Mon Sep 17 00:00:00 2001 From: Teemu Suo-Anttila Date: Fri, 10 Jul 2015 11:39:33 +0300 Subject: [PATCH] Fix BasicPersonForm test UI notifications to be more stable Change-Id: I1a50b9dc4dd8e09ac10c38bb2c4ebfdb2ec41dcf --- uitest/src/com/vaadin/tests/fieldgroup/BasicPersonForm.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); } -- 2.39.5