diff options
author | Henri Sara <hesara@vaadin.com> | 2017-08-18 14:27:16 +0300 |
---|---|---|
committer | Henri Sara <henri.sara@gmail.com> | 2017-08-18 15:25:21 +0300 |
commit | c46678460325f399c75cd8f00ceb230625524f10 (patch) | |
tree | 574e7b4cd8b414372e050c0ec7e6c3deaa2eae64 /uitest | |
parent | 563b0abb73c5c1a29763b3c1f39f56e876704357 (diff) | |
download | vaadin-framework-c46678460325f399c75cd8f00ceb230625524f10.tar.gz vaadin-framework-c46678460325f399c75cd8f00ceb230625524f10.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.java | 5 |
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); |