aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--uitest/src/com/vaadin/tests/tb3/AbstractTB3Test.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/tb3/AbstractTB3Test.java b/uitest/src/com/vaadin/tests/tb3/AbstractTB3Test.java
index 7b77aaf817..075319103b 100644
--- a/uitest/src/com/vaadin/tests/tb3/AbstractTB3Test.java
+++ b/uitest/src/com/vaadin/tests/tb3/AbstractTB3Test.java
@@ -1032,6 +1032,12 @@ public abstract class AbstractTB3Test extends ParallelTest {
*/
protected void selectMenuPath(String... menuCaptions) {
selectMenu(menuCaptions[0], true);
+
+ // Move to the menu item opened below the menu bar.
+ new Actions(getDriver()).moveByOffset(0,
+ getMenuElement(menuCaptions[0]).getSize().getHeight())
+ .perform();
+
for (int i = 1; i < menuCaptions.length - 1; i++) {
selectMenu(menuCaptions[i]);
new Actions(getDriver()).moveByOffset(40, 0).build().perform();