aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/test/java/com/vaadin/tests/layouts/VerticalLayoutRemoveComponentTest.java
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <tsuoanttila@users.noreply.github.com>2018-04-17 14:53:50 +0300
committerGitHub <noreply@github.com>2018-04-17 14:53:50 +0300
commitaac64dba9c3a2841ccd9ab524b752b6307f0159d (patch)
treeaf86cfe3101caa8520f1baaa6f9b648523aea92e /uitest/src/test/java/com/vaadin/tests/layouts/VerticalLayoutRemoveComponentTest.java
parent9eb3119dbaf9342064f1e3a0733478e3c97ba5ea (diff)
downloadvaadin-framework-aac64dba9c3a2841ccd9ab524b752b6307f0159d.tar.gz
vaadin-framework-aac64dba9c3a2841ccd9ab524b752b6307f0159d.zip
Introduce XVFB cluster testing (#10801)
This patch adds the ability and configuration for running tests against cluster running Chrome browsers in XVFB environment. It also contains multiple fixes for combining newer Selenium and Chrome as well as fixes tests that depend on timezones.
Diffstat (limited to 'uitest/src/test/java/com/vaadin/tests/layouts/VerticalLayoutRemoveComponentTest.java')
-rw-r--r--uitest/src/test/java/com/vaadin/tests/layouts/VerticalLayoutRemoveComponentTest.java10
1 files changed, 7 insertions, 3 deletions
diff --git a/uitest/src/test/java/com/vaadin/tests/layouts/VerticalLayoutRemoveComponentTest.java b/uitest/src/test/java/com/vaadin/tests/layouts/VerticalLayoutRemoveComponentTest.java
index 4115b0f250..6514397412 100644
--- a/uitest/src/test/java/com/vaadin/tests/layouts/VerticalLayoutRemoveComponentTest.java
+++ b/uitest/src/test/java/com/vaadin/tests/layouts/VerticalLayoutRemoveComponentTest.java
@@ -2,16 +2,20 @@ package com.vaadin.tests.layouts;
import static org.junit.Assert.assertEquals;
+import org.junit.Assume;
import org.junit.Test;
import com.vaadin.testbench.elements.ButtonElement;
import com.vaadin.testbench.elements.VerticalLayoutElement;
-import com.vaadin.tests.tb3.SingleBrowserTestPhantomJS2;
+import com.vaadin.testbench.parallel.BrowserUtil;
+import com.vaadin.tests.tb3.SingleBrowserTest;
-public class VerticalLayoutRemoveComponentTest
- extends SingleBrowserTestPhantomJS2 {
+public class VerticalLayoutRemoveComponentTest extends SingleBrowserTest {
@Test
public void testRemoveOnlyNecessaryComponentsFromDom() {
+ Assume.assumeFalse("PhantomJS has issues with this test",
+ BrowserUtil.isPhantomJS(getDesiredCapabilities()));
+
openTestURL();
String script = "document.mutationEventCount = 0;"