aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Anisimov <denis@vaadin.com>2016-10-05 14:50:20 +0300
committerDenis Anisimov <denis@vaadin.com>2016-10-05 14:50:43 +0300
commit6b229978accda593f1ba08fc31c262a994df000a (patch)
tree6914e0b042dc568f7db9d3444a04daedeb102645
parentde717dd92acc66ca3e6f697c0ef37a61d5c1e043 (diff)
downloadvaadin-framework-6b229978accda593f1ba08fc31c262a994df000a.tar.gz
vaadin-framework-6b229978accda593f1ba08fc31c262a994df000a.zip
Fix GridColumnHidingTest: don't use moveToElement() in TB with FF.
Change-Id: I0d029012627529e524b1d67d076caa224d711358
-rw-r--r--uitest/src/test/java/com/vaadin/tests/components/grid/GridColumnHidingTest.java6
1 files 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();
}
}