summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--uitest/src/test/java/com/vaadin/tests/components/menubar/MenuBarIsAutoOpenScrollingTest.java2
1 files changed, 1 insertions, 1 deletions
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();