From: Artur Signell Date: Thu, 1 Sep 2016 08:49:35 +0000 (+0300) Subject: Do not run test on IE8 as IE8 is broken X-Git-Tag: 7.7.1~14 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9b66c6eb9bebf657d3f2def8c767e0e9d51cc92c;p=vaadin-framework.git Do not run test on IE8 as IE8 is broken Change-Id: I55f41c8f3488a57e6ab499da58df70eb02d3f136 --- diff --git a/uitest/src/test/java/com/vaadin/tests/components/tabsheet/TabsheetScrollIntoViewTest.java b/uitest/src/test/java/com/vaadin/tests/components/tabsheet/TabsheetScrollIntoViewTest.java index 8e107859e5..8f70b2b704 100644 --- a/uitest/src/test/java/com/vaadin/tests/components/tabsheet/TabsheetScrollIntoViewTest.java +++ b/uitest/src/test/java/com/vaadin/tests/components/tabsheet/TabsheetScrollIntoViewTest.java @@ -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 getBrowsersToTest() { + List 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();