From 3b0722a0ba462e677fe2fb305709faac953ce5bf Mon Sep 17 00:00:00 2001 From: Henri Sara Date: Mon, 7 Aug 2017 10:05:44 +0300 Subject: Exclude Firefox from JavaScriptPreloadingTest (#9784) The test works on Firefox under low load, but not when the browser VM is slow due to load, in which case Firefox sometimes executes scripts out of order. This seems to be due to a Firefox bug - the generated HTML looks correct. --- .../components/javascriptcomponent/JavaScriptPreloadingTest.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uitest/src/test/java/com/vaadin/tests/components/javascriptcomponent/JavaScriptPreloadingTest.java b/uitest/src/test/java/com/vaadin/tests/components/javascriptcomponent/JavaScriptPreloadingTest.java index 51258a7825..076e808722 100644 --- a/uitest/src/test/java/com/vaadin/tests/components/javascriptcomponent/JavaScriptPreloadingTest.java +++ b/uitest/src/test/java/com/vaadin/tests/components/javascriptcomponent/JavaScriptPreloadingTest.java @@ -27,13 +27,16 @@ import org.openqa.selenium.remote.DesiredCapabilities; import org.openqa.selenium.support.ui.ExpectedConditions; import org.openqa.selenium.support.ui.WebDriverWait; +import com.vaadin.testbench.parallel.Browser; import com.vaadin.tests.tb3.MultiBrowserTest; public class JavaScriptPreloadingTest extends MultiBrowserTest { @Override public List getBrowsersToTest() { - return getBrowsersExcludingPhantomJS(); + // the test works on Firefox under low load, but often fails under high + // load - seems to be a Firefox bug + return getBrowserCapabilities(Browser.IE11, Browser.CHROME); } @Test -- cgit v1.2.3