From 9b66c6eb9bebf657d3f2def8c767e0e9d51cc92c Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Thu, 1 Sep 2016 11:49:35 +0300 Subject: [PATCH] Do not run test on IE8 as IE8 is broken Change-Id: I55f41c8f3488a57e6ab499da58df70eb02d3f136 --- .../tabsheet/TabsheetScrollIntoViewTest.java | 11 +++++++++++ 1 file changed, 11 insertions(+) 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(); -- 2.39.5