]> source.dussan.org Git - vaadin-framework.git/commitdiff
Don't click widget headers to set selection in test (#16567)
authorLeif Åstrand <leif@vaadin.com>
Tue, 10 Feb 2015 08:41:46 +0000 (10:41 +0200)
committerLeif Åstrand <leif@vaadin.com>
Tue, 10 Feb 2015 08:41:58 +0000 (10:41 +0200)
Change-Id: I627cb68e54204a7af9c2ad53b131c4928a19e9b0

uitest/src/com/vaadin/tests/components/grid/basicfeatures/client/GridClientSelectionTest.java

index dccf2c0974bf8a37f7def7b4ce72da3221ad40f1..57950de5e2c94da4d32c5d3e03539f1c53bb8e7e 100644 (file)
@@ -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();