summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis <denis@vaadin.com>2016-12-16 15:31:35 +0200
committerPekka Hyvönen <pekka@vaadin.com>2016-12-16 15:31:34 +0200
commit5b7ecd61c1cc108be3186cf88b7e0a8d9374b92b (patch)
tree61e03af92d9a136e1f0a5e7a45d20e905e180a75
parentc10c29a93d0c8bfc524ad5bd9be8527cae2e4590 (diff)
downloadvaadin-framework-5b7ecd61c1cc108be3186cf88b7e0a8d9374b92b.tar.gz
vaadin-framework-5b7ecd61c1cc108be3186cf88b7e0a8d9374b92b.zip
Fix for MenuBarIsAutoOpenScrollingTest. (#8017)
* Fix for MenuBarIsAutoOpenScrollingTest.
-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();