summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenri Sara <henri.sara@gmail.com>2017-08-07 10:05:44 +0300
committerGitHub <noreply@github.com>2017-08-07 10:05:44 +0300
commit3b0722a0ba462e677fe2fb305709faac953ce5bf (patch)
tree9812e25e42fdc02c811c94a97c616d29ef3f3c12
parent6154f3a9cbabd458510f2aad2a3e6f58a8478a87 (diff)
downloadvaadin-framework-3b0722a0ba462e677fe2fb305709faac953ce5bf.tar.gz
vaadin-framework-3b0722a0ba462e677fe2fb305709faac953ce5bf.zip
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.
-rw-r--r--uitest/src/test/java/com/vaadin/tests/components/javascriptcomponent/JavaScriptPreloadingTest.java5
1 files changed, 4 insertions, 1 deletions
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<DesiredCapabilities> 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