From e8c788faf7a916fc1221099ce4ef10bd51d1b571 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Leif=20=C3=85strand?= Date: Tue, 10 Feb 2015 10:41:46 +0200 Subject: [PATCH] Don't click widget headers to set selection in test (#16567) Change-Id: I627cb68e54204a7af9c2ad53b131c4928a19e9b0 --- .../grid/basicfeatures/client/GridClientSelectionTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uitest/src/com/vaadin/tests/components/grid/basicfeatures/client/GridClientSelectionTest.java b/uitest/src/com/vaadin/tests/components/grid/basicfeatures/client/GridClientSelectionTest.java index dccf2c0974..57950de5e2 100644 --- a/uitest/src/com/vaadin/tests/components/grid/basicfeatures/client/GridClientSelectionTest.java +++ b/uitest/src/com/vaadin/tests/components/grid/basicfeatures/client/GridClientSelectionTest.java @@ -118,7 +118,7 @@ public class GridClientSelectionTest extends GridBasicClientFeaturesTest { setSelectionModelSingle(true); - getGridElement().getHeaderCell(0, 1).click(); + getGridElement().getHeaderCell(0, 0).click(); new Actions(getDriver()).sendKeys(Keys.ARROW_DOWN).perform(); @@ -171,7 +171,7 @@ public class GridClientSelectionTest extends GridBasicClientFeaturesTest { setSelectionModelSingle(false); - getGridElement().getHeaderCell(0, 1).click(); + getGridElement().getHeaderCell(0, 0).click(); new Actions(getDriver()).sendKeys(Keys.ARROW_DOWN).perform(); new Actions(getDriver()).sendKeys(Keys.SPACE).perform(); -- 2.39.5