summaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
authorHenri Sara <hesara@vaadin.com>2017-08-18 14:27:16 +0300
committerHenri Sara <henri.sara@gmail.com>2017-08-29 17:36:54 +0300
commit6709546224361ef4016773ee8514fc93f8149375 (patch)
tree2e19158621ae6447d850dcb4f93637a7224c0b63 /uitest
parent741ae89882d9d1c2cc3fa0f528d03751318b41a0 (diff)
downloadvaadin-framework-6709546224361ef4016773ee8514fc93f8149375.tar.gz
vaadin-framework-6709546224361ef4016773ee8514fc93f8149375.zip
Exclude PhantomJS from flaky GridComponentsTest
The test testReuseTextFieldOnScroll() often crashes PhantomJS 1.
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/test/java/com/vaadin/tests/components/grid/GridComponentsTest.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/uitest/src/test/java/com/vaadin/tests/components/grid/GridComponentsTest.java b/uitest/src/test/java/com/vaadin/tests/components/grid/GridComponentsTest.java
index 045d205f87..cd680d3804 100644
--- a/uitest/src/test/java/com/vaadin/tests/components/grid/GridComponentsTest.java
+++ b/uitest/src/test/java/com/vaadin/tests/components/grid/GridComponentsTest.java
@@ -14,12 +14,17 @@ import com.vaadin.testbench.elements.GridElement.GridCellElement;
import com.vaadin.testbench.elements.GridElement.GridRowElement;
import com.vaadin.testbench.elements.LabelElement;
import com.vaadin.testbench.elements.NotificationElement;
+import com.vaadin.testbench.parallel.BrowserUtil;
import com.vaadin.tests.tb3.MultiBrowserTest;
public class GridComponentsTest extends MultiBrowserTest {
@Test
public void testReuseTextFieldOnScroll() {
+ if (BrowserUtil.isPhantomJS(getDesiredCapabilities())) {
+ // skip test on PhantomJS as it often crashes the browser
+ return;
+ }
openTestURL();
GridElement grid = $(GridElement.class).first();
editTextFieldInCell(grid, 0, 1);