From 5b7ecd61c1cc108be3186cf88b7e0a8d9374b92b Mon Sep 17 00:00:00 2001 From: Denis Date: Fri, 16 Dec 2016 15:31:35 +0200 Subject: [PATCH] Fix for MenuBarIsAutoOpenScrollingTest. (#8017) * Fix for MenuBarIsAutoOpenScrollingTest. --- .../components/menubar/MenuBarIsAutoOpenScrollingTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uitest/src/test/java/com/vaadin/tests/components/menubar/MenuBarIsAutoOpenScrollingTest.java b/uitest/src/test/java/com/vaadin/tests/components/menubar/MenuBarIsAutoOpenScrollingTest.java index 51fca00eda..0d439e6bb1 100644 --- a/uitest/src/test/java/com/vaadin/tests/components/menubar/MenuBarIsAutoOpenScrollingTest.java +++ b/uitest/src/test/java/com/vaadin/tests/components/menubar/MenuBarIsAutoOpenScrollingTest.java @@ -55,7 +55,7 @@ public class MenuBarIsAutoOpenScrollingTest extends MultiBrowserTest { // here we have to use pause() because LazyCloser in VMenuBar auto // closes submenus popup in 750 ms. - actions.moveToElement(subMenuPopup, subMenuPopup.getSize().width - 7, + actions.moveToElement(subMenuPopup, subMenuPopup.getSize().width / 2, 100).clickAndHold().pause(1000).moveByOffset(0, 200).release() .perform(); -- 2.39.5