diff options
Diffstat (limited to 'uitest/src/com')
-rw-r--r-- | uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridColumnReorderTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridColumnReorderTest.java b/uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridColumnReorderTest.java index 6eb6d95643..62be202277 100644 --- a/uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridColumnReorderTest.java +++ b/uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridColumnReorderTest.java @@ -334,14 +334,14 @@ public class GridColumnReorderTest extends GridBasicFeaturesTest { GridCellElement draggedHeaderCell = getGridElement() .getHeaderCell(0, 1); final int xOffset = 500; - new Actions(getDriver()).moveToElement(draggedHeaderCell, 10, 10) + new Actions(getDriver()).moveToElement(draggedHeaderCell, 20, 10) .clickAndHold().moveByOffset(xOffset, 0).build().perform(); WebElement floatingDragElement = findElement(By .className("dragged-column-header")); int expectedLeft = draggedHeaderCell.getLocation().getX() + xOffset - + 10 - (floatingDragElement.getSize().getWidth() / 2); + + 20 - (floatingDragElement.getSize().getWidth() / 2); int realLeft = floatingDragElement.getLocation().getX(); assertTrue("Dragged element location wrong, expected " + expectedLeft |