Browse Source

Add delay to the unstable test (#11538)

* Add delay to the unstable test
tags/8.8.0.beta1
Sun Zhe 5 years ago
parent
commit
fe4dda34f0
No account linked to committer's email address

+ 1
- 0
uitest/src/test/java/com/vaadin/tests/components/MenuBarDownloadBrowserOpenerUITest.java View File

@@ -30,6 +30,7 @@ public class MenuBarDownloadBrowserOpenerUITest extends MultiBrowserTest {
checkAndCloseAlert();
checkAndCloseAlert();

sleep(500);
first.clickItem("TestExtension", "RemoveTrigger");
first.clickItem("TestExtension", "RunMe");
checkAndCloseAlert();

+ 1
- 1
uitest/src/test/java/com/vaadin/tests/components/window/WindowHeaderButtonKeyboardActionsTest.java View File

@@ -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);
}
}

Loading…
Cancel
Save