summaryrefslogtreecommitdiffstats
path: root/uitest/src/com
diff options
context:
space:
mode:
authorHenri Sara <hesara@vaadin.com>2015-12-21 16:33:44 +0200
committerVaadin Code Review <review@vaadin.com>2015-12-21 15:09:55 +0000
commit5500a4f32a1649d4f3df17eadbb4235a44b0f251 (patch)
tree83dd62c40a3cdae8c3d4523ff9d58630612a3c01 /uitest/src/com
parenta9142a784eb4ca123ff0b9df634aa5ec9994e712 (diff)
downloadvaadin-framework-5500a4f32a1649d4f3df17eadbb4235a44b0f251.tar.gz
vaadin-framework-5500a4f32a1649d4f3df17eadbb4235a44b0f251.zip
Fix Grid sorting tests (#16838)
Increase click X offset to account for wider resize handle. Change-Id: Id638214f4a98d2476f298014c1bae0bbca6dea16
Diffstat (limited to 'uitest/src/com')
-rw-r--r--uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridMultiSortingTest.java4
-rw-r--r--uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridSortingTest.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridMultiSortingTest.java b/uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridMultiSortingTest.java
index 2f4e7a8212..a3cf5872f0 100644
--- a/uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridMultiSortingTest.java
+++ b/uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridMultiSortingTest.java
@@ -43,10 +43,10 @@ public class GridMultiSortingTest extends GridBasicFeaturesTest {
"Auto");
GridCellElement cell = getGridElement().getHeaderCell(0, 11);
- new Actions(driver).moveToElement(cell, 10, 10).click().perform();
+ new Actions(driver).moveToElement(cell, 20, 10).click().perform();
new Actions(driver).keyDown(Keys.SHIFT).perform();
new Actions(driver)
- .moveToElement(getGridElement().getHeaderCell(0, 0), 10, 10)
+ .moveToElement(getGridElement().getHeaderCell(0, 0), 20, 10)
.click().perform();
new Actions(driver).keyUp(Keys.SHIFT).perform();
diff --git a/uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridSortingTest.java b/uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridSortingTest.java
index 548e8dbd2f..c23e5d1f11 100644
--- a/uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridSortingTest.java
+++ b/uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridSortingTest.java
@@ -196,7 +196,7 @@ public class GridSortingTest extends GridBasicFeaturesTest {
}
private void clickHeader(GridCellElement headerCell) {
- new Actions(getDriver()).moveToElement(headerCell, 10, 10).click()
+ new Actions(getDriver()).moveToElement(headerCell, 20, 10).click()
.perform();
}