]> source.dussan.org Git - vaadin-framework.git/commitdiff
Do not run test on IE8 as IE8 is broken
authorArtur Signell <artur@vaadin.com>
Thu, 1 Sep 2016 08:49:35 +0000 (11:49 +0300)
committerArtur Signell <artur@vaadin.com>
Thu, 1 Sep 2016 08:51:17 +0000 (11:51 +0300)
Change-Id: I55f41c8f3488a57e6ab499da58df70eb02d3f136

uitest/src/test/java/com/vaadin/tests/components/tabsheet/TabsheetScrollIntoViewTest.java

index 8e107859e5e38b8803aaccee5e28712717ada90f..8f70b2b70430759a0de84154bcbd3714c0d4c0a1 100644 (file)
@@ -21,13 +21,24 @@ import org.junit.Assert;
 import org.junit.Test;
 import org.openqa.selenium.By;
 import org.openqa.selenium.WebElement;
+import org.openqa.selenium.remote.DesiredCapabilities;
 
 import com.vaadin.testbench.elements.ButtonElement;
 import com.vaadin.testbench.elements.TabSheetElement;
+import com.vaadin.testbench.parallel.Browser;
 import com.vaadin.tests.tb3.MultiBrowserTest;
 
 public class TabsheetScrollIntoViewTest extends MultiBrowserTest {
 
+    @Override
+    public List<DesiredCapabilities> getBrowsersToTest() {
+        List<DesiredCapabilities> browsers = super.getBrowsersToTest();
+        // For whatever reason, IE8 never returns from the
+        // $(TabSheetElement.class).first() call
+        browsers.remove(Browser.IE8.getDesiredCapabilities());
+        return browsers;
+    }
+
     @Test
     public void scrollIntoView() {
         openTestURL();