aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <teemusa@vaadin.com>2015-07-10 11:39:33 +0300
committerTeemu Suo-Anttila <teemusa@vaadin.com>2015-07-10 08:52:39 +0000
commitba678430d656a7bfad0582ac4f42c9107a7ae556 (patch)
tree129b8803f4ab4dda3eba3bd6cf9793187dccd24b /uitest/src
parent359710c1bd08266a6956ff3e0762355b8df56cc8 (diff)
downloadvaadin-framework-ba678430d656a7bfad0582ac4f42c9107a7ae556.tar.gz
vaadin-framework-ba678430d656a7bfad0582ac4f42c9107a7ae556.zip
Fix BasicPersonForm test UI notifications to be more stable
Change-Id: I1a50b9dc4dd8e09ac10c38bb2c4ebfdb2ec41dcf
Diffstat (limited to 'uitest/src')
-rw-r--r--uitest/src/com/vaadin/tests/fieldgroup/BasicPersonForm.java4
1 files changed, 3 insertions, 1 deletions
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);
}