diff options
author | Sun Zhe <31067185+ZheSun88@users.noreply.github.com> | 2019-04-09 16:45:30 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-09 16:45:30 +0300 |
commit | fe4dda34f04c4434f10faef9f7a8d8a2b160c527 (patch) | |
tree | e4988b8e7dfa421d4a27c0652102011d4bb9af7f /uitest | |
parent | 262863dbf6b33995d47bd9433e8f087d13a468ee (diff) | |
download | vaadin-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')
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); } } |