summaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
authorSun Zhe <31067185+ZheSun88@users.noreply.github.com>2019-04-09 16:45:30 +0300
committerGitHub <noreply@github.com>2019-04-09 16:45:30 +0300
commitfe4dda34f04c4434f10faef9f7a8d8a2b160c527 (patch)
treee4988b8e7dfa421d4a27c0652102011d4bb9af7f /uitest
parent262863dbf6b33995d47bd9433e8f087d13a468ee (diff)
downloadvaadin-framework-fe4dda34f04c4434f10faef9f7a8d8a2b160c527.tar.gz
vaadin-framework-fe4dda34f04c4434f10faef9f7a8d8a2b160c527.zip
Add delay to the unstable test (#11538)
* Add delay to the unstable test
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/test/java/com/vaadin/tests/components/MenuBarDownloadBrowserOpenerUITest.java1
-rw-r--r--uitest/src/test/java/com/vaadin/tests/components/window/WindowHeaderButtonKeyboardActionsTest.java2
2 files changed, 2 insertions, 1 deletions
diff --git a/uitest/src/test/java/com/vaadin/tests/components/MenuBarDownloadBrowserOpenerUITest.java b/uitest/src/test/java/com/vaadin/tests/components/MenuBarDownloadBrowserOpenerUITest.java
index 86efdbb4d4..2f2dd91ea8 100644
--- a/uitest/src/test/java/com/vaadin/tests/components/MenuBarDownloadBrowserOpenerUITest.java
+++ b/uitest/src/test/java/com/vaadin/tests/components/MenuBarDownloadBrowserOpenerUITest.java
@@ -30,6 +30,7 @@ public class MenuBarDownloadBrowserOpenerUITest extends MultiBrowserTest {
checkAndCloseAlert();
checkAndCloseAlert();
+ sleep(500);
first.clickItem("TestExtension", "RemoveTrigger");
first.clickItem("TestExtension", "RunMe");
checkAndCloseAlert();
diff --git a/uitest/src/test/java/com/vaadin/tests/components/window/WindowHeaderButtonKeyboardActionsTest.java b/uitest/src/test/java/com/vaadin/tests/components/window/WindowHeaderButtonKeyboardActionsTest.java
index 47ac64107d..278d0994c0 100644
--- a/uitest/src/test/java/com/vaadin/tests/components/window/WindowHeaderButtonKeyboardActionsTest.java
+++ b/uitest/src/test/java/com/vaadin/tests/components/window/WindowHeaderButtonKeyboardActionsTest.java
@@ -400,6 +400,6 @@ public class WindowHeaderButtonKeyboardActionsTest extends MultiBrowserTest {
protected void pressKeyAndWait(Keys... key) {
new Actions(driver).sendKeys(key).build().perform();
- sleep(100);
+ sleep(1000);
}
}