From 6b229978accda593f1ba08fc31c262a994df000a Mon Sep 17 00:00:00 2001 From: Denis Anisimov Date: Wed, 5 Oct 2016 14:50:20 +0300 Subject: [PATCH] Fix GridColumnHidingTest: don't use moveToElement() in TB with FF. Change-Id: I0d029012627529e524b1d67d076caa224d711358 --- .../vaadin/tests/components/grid/GridColumnHidingTest.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/uitest/src/test/java/com/vaadin/tests/components/grid/GridColumnHidingTest.java b/uitest/src/test/java/com/vaadin/tests/components/grid/GridColumnHidingTest.java index dca31e5249..57ef8fbc42 100644 --- a/uitest/src/test/java/com/vaadin/tests/components/grid/GridColumnHidingTest.java +++ b/uitest/src/test/java/com/vaadin/tests/components/grid/GridColumnHidingTest.java @@ -182,8 +182,10 @@ public class GridColumnHidingTest extends MultiBrowserTest { GridCellElement headerCell = gridElement.getHeaderCell(0, columnIndex); Dimension size = headerCell.getSize(); new Actions(getDriver()) - .moveToElement(headerCell, size.getWidth() + posX, - size.getHeight() / 2) + .moveByOffset( + headerCell.getLocation().getX() + size.getWidth() + + posX, + headerCell.getLocation().getY() + size.getHeight() / 2) .clickAndHold().moveByOffset(offset, 0).release().perform(); } } -- 2.39.5