diff options
author | Henri Sara <hesara@vaadin.com> | 2017-05-17 14:02:09 +0300 |
---|---|---|
committer | Henri Sara <henri.sara@gmail.com> | 2017-05-17 14:48:46 +0300 |
commit | 7ef57c71741c2e64350156b8b14af7476d447039 (patch) | |
tree | d119d4839b39b44de87dbc2c9980088fade3f8e2 /uitest | |
parent | b033711d8710b4e7860eff89103de36428b82565 (diff) | |
download | vaadin-framework-7ef57c71741c2e64350156b8b14af7476d447039.tar.gz vaadin-framework-7ef57c71741c2e64350156b8b14af7476d447039.zip |
Update WidgetUtilTest for Chrome 58
Chrome 58 changes how border sizes are rounded.
Diffstat (limited to 'uitest')
-rw-r--r-- | uitest/src/test/java/com/vaadin/tests/util/WidgetUtilTest.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/uitest/src/test/java/com/vaadin/tests/util/WidgetUtilTest.java b/uitest/src/test/java/com/vaadin/tests/util/WidgetUtilTest.java index 7221031882..d9c5d74114 100644 --- a/uitest/src/test/java/com/vaadin/tests/util/WidgetUtilTest.java +++ b/uitest/src/test/java/com/vaadin/tests/util/WidgetUtilTest.java @@ -74,8 +74,7 @@ public class WidgetUtilTest extends MultiBrowserTest { DesiredCapabilities capabilities) { // Note that this is how the Windows browsers in the test cluster work. // On Mac, Firefox works slightly differently (rounds border to 1.5px). - return (BrowserUtil.isChrome(capabilities) - || BrowserUtil.isPhantomJS(capabilities) + return (BrowserUtil.isPhantomJS(capabilities) || BrowserUtil.isFirefox(capabilities)); } |