diff options
author | Denis Anisimov <denis@vaadin.com> | 2016-11-09 17:25:41 +0200 |
---|---|---|
committer | Denis Anisimov <denis@vaadin.com> | 2016-11-10 07:43:35 +0000 |
commit | 9a9d31c96b49e9c4d8341997e8765f3b010ada11 (patch) | |
tree | d192497fc06a2a9efefc6c2df8e2d2a7138011c0 /uitest | |
parent | 85fa1d28828e9d951ebe865ce69f26ff2313d4aa (diff) | |
download | vaadin-framework-9a9d31c96b49e9c4d8341997e8765f3b010ada11.tar.gz vaadin-framework-9a9d31c96b49e9c4d8341997e8765f3b010ada11.zip |
Fix some modern browsers tests failures.
Change-Id: I2a89d3493e2f98ab1b9a0666d9dc075a2457e432
Diffstat (limited to 'uitest')
3 files changed, 4 insertions, 3 deletions
diff --git a/uitest/src/test/java/com/vaadin/tests/components/abstractembedded/EmbeddedWithNullSourceTest.java b/uitest/src/test/java/com/vaadin/tests/components/abstractembedded/EmbeddedWithNullSourceTest.java index c97c997231..2cd31573fb 100644 --- a/uitest/src/test/java/com/vaadin/tests/components/abstractembedded/EmbeddedWithNullSourceTest.java +++ b/uitest/src/test/java/com/vaadin/tests/components/abstractembedded/EmbeddedWithNullSourceTest.java @@ -31,8 +31,9 @@ public class EmbeddedWithNullSourceTest extends MultiBrowserTest { public List<DesiredCapabilities> getBrowsersToTest() { // No Flash on PhantomJS, IE 11 has a timeout issue, looks like a // IEDriver problem, not reproduced running locally. + // Flash is disabled in Chrome. return getBrowserCapabilities(Browser.IE8, Browser.IE9, Browser.IE10, - Browser.CHROME, Browser.FIREFOX); + Browser.FIREFOX); } @Test diff --git a/uitest/src/test/java/com/vaadin/tests/components/flash/FlashIsVisibleTest.java b/uitest/src/test/java/com/vaadin/tests/components/flash/FlashIsVisibleTest.java index 4f8d6602fe..defd6367cb 100644 --- a/uitest/src/test/java/com/vaadin/tests/components/flash/FlashIsVisibleTest.java +++ b/uitest/src/test/java/com/vaadin/tests/components/flash/FlashIsVisibleTest.java @@ -15,7 +15,7 @@ public class FlashIsVisibleTest extends MultiBrowserTest { // FF and PhantomJS fail at Flash and ShiftClick List<DesiredCapabilities> capabilities = getBrowsersSupportingShiftClick(); // Flash support in Chrome is disabled - capabilities.remove(Browser.CHROME); + capabilities.removeAll(getBrowserCapabilities(Browser.CHROME)); return capabilities; } diff --git a/uitest/src/test/java/com/vaadin/tests/components/uitest/ThemeTest.java b/uitest/src/test/java/com/vaadin/tests/components/uitest/ThemeTest.java index ad6bc240d4..b299332324 100644 --- a/uitest/src/test/java/com/vaadin/tests/components/uitest/ThemeTest.java +++ b/uitest/src/test/java/com/vaadin/tests/components/uitest/ThemeTest.java @@ -9,11 +9,11 @@ import org.openqa.selenium.interactions.Actions; import com.vaadin.testbench.By; import com.vaadin.testbench.elements.ButtonElement; +import com.vaadin.testbench.elements.ComboBoxElement; import com.vaadin.testbench.elements.TableElement; import com.vaadin.testbench.elementsbase.ServerClass; import com.vaadin.testbench.parallel.BrowserUtil; import com.vaadin.tests.tb3.MultiBrowserTest; -import com.vaadin.tests.tb3.newelements.ComboBoxElement; import com.vaadin.tests.tb3.newelements.FixedNotificationElement; import com.vaadin.tests.tb3.newelements.WindowElement; |