diff options
author | Artur Signell <artur@vaadin.com> | 2016-08-31 09:50:59 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2016-08-31 09:50:59 +0300 |
commit | 0207cc93e01b0a50817d7164d7d2216ee3bf4c48 (patch) | |
tree | e222601ca6714a5ee6c7417e468e899d3a19c174 /uitest | |
parent | 402a103a4f6f2ea3d5cd92532843918a4e902ec2 (diff) | |
download | vaadin-framework-0207cc93e01b0a50817d7164d7d2216ee3bf4c48.tar.gz vaadin-framework-0207cc93e01b0a50817d7164d7d2216ee3bf4c48.zip |
Stop running test on IE11 which does not shift click when it should
Change-Id: I4b7a05f4918e14c6644514d036f33178d999b086
Diffstat (limited to 'uitest')
-rw-r--r-- | uitest/src/test/java/com/vaadin/tests/components/grid/basics/GridSortingTest.java | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/uitest/src/test/java/com/vaadin/tests/components/grid/basics/GridSortingTest.java b/uitest/src/test/java/com/vaadin/tests/components/grid/basics/GridSortingTest.java index 83044123d2..0ce417c743 100644 --- a/uitest/src/test/java/com/vaadin/tests/components/grid/basics/GridSortingTest.java +++ b/uitest/src/test/java/com/vaadin/tests/components/grid/basics/GridSortingTest.java @@ -1,5 +1,6 @@ package com.vaadin.tests.components.grid.basics; +import java.util.Collections; import java.util.Comparator; import java.util.List; import java.util.stream.Collectors; @@ -9,6 +10,8 @@ import org.junit.Test; import org.openqa.selenium.Keys; import org.openqa.selenium.remote.DesiredCapabilities; +import com.vaadin.testbench.parallel.Browser; + public class GridSortingTest extends GridBasicsTest { public static final Comparator<DataObject> BIG_RANDOM = Comparator @@ -18,7 +21,10 @@ public class GridSortingTest extends GridBasicsTest { @Override public List<DesiredCapabilities> getBrowsersToTest() { - return getBrowsersSupportingShiftClick(); + // Should be browsersSupportingShiftClick but for whatever reason IE11 + // fails to shift click + return Collections + .singletonList(Browser.CHROME.getDesiredCapabilities()); } @Test @@ -30,7 +36,8 @@ public class GridSortingTest extends GridBasicsTest { .collect(Collectors.toList())) { Assert.assertEquals( "Grid was not sorted as expected, row number mismatch", - rowNumber.toString(), getGridElement().getCell(i++, 0).getText()); + rowNumber.toString(), + getGridElement().getCell(i++, 0).getText()); } } @@ -46,7 +53,8 @@ public class GridSortingTest extends GridBasicsTest { .collect(Collectors.toList())) { Assert.assertEquals( "Grid was not sorted as expected, row number mismatch", - rowNumber.toString(), getGridElement().getCell(i++, 0).getText()); + rowNumber.toString(), + getGridElement().getCell(i++, 0).getText()); } } } |