diff options
author | Teemu Suo-Anttila <tsuoanttila@users.noreply.github.com> | 2018-07-11 22:00:58 +0300 |
---|---|---|
committer | Ilia Motornyi <elmot@vaadin.com> | 2018-07-11 22:00:58 +0300 |
commit | e425e76549d3e022b6da2dd7f0b9ac459ceddee6 (patch) | |
tree | 8ec8a98e903c42ebe25753a5805aa685a503f660 /uitest/src/test | |
parent | 2f34a006ed3d98acd79c48c1a2d8fc680188053a (diff) | |
download | vaadin-framework-e425e76549d3e022b6da2dd7f0b9ac459ceddee6.tar.gz vaadin-framework-e425e76549d3e022b6da2dd7f0b9ac459ceddee6.zip |
Fix CDI and IE11 tests (#11042)
* Set Wildfly version, only resize viewport for Firefox
Diffstat (limited to 'uitest/src/test')
-rw-r--r-- | uitest/src/test/java/com/vaadin/tests/fieldgroup/BasicPersonFormTest.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/uitest/src/test/java/com/vaadin/tests/fieldgroup/BasicPersonFormTest.java b/uitest/src/test/java/com/vaadin/tests/fieldgroup/BasicPersonFormTest.java index 1baccbb5bc..ee284309b4 100644 --- a/uitest/src/test/java/com/vaadin/tests/fieldgroup/BasicPersonFormTest.java +++ b/uitest/src/test/java/com/vaadin/tests/fieldgroup/BasicPersonFormTest.java @@ -11,6 +11,7 @@ import com.vaadin.testbench.elements.TableElement; import com.vaadin.testbench.elements.TableRowElement; import com.vaadin.testbench.elements.TextAreaElement; import com.vaadin.testbench.elements.TextFieldElement; +import com.vaadin.testbench.parallel.BrowserUtil; import com.vaadin.tests.data.bean.Sex; import com.vaadin.tests.tb3.AbstractTB3Test; import com.vaadin.tests.tb3.MultiBrowserTest; @@ -27,8 +28,10 @@ public abstract class BasicPersonFormTest extends MultiBrowserTest { logCounter = 0; - // Use larger view port to make sure everything is visible. - testBench().resizeViewPortTo(1500, 1500); + if (BrowserUtil.isFirefox(getDesiredCapabilities())) { + // Use larger view port to make sure everything is visible. + testBench().resizeViewPortTo(1500, 1500); + } } @Override |