From: Aleksi Hietanen Date: Thu, 24 Aug 2017 10:03:54 +0000 (+0300) Subject: Fix item description tests on IE for RadioButtonGroup and CheckBoxGroup (#9866) X-Git-Tag: 8.2.0.alpha1~35 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=74e8bd248d54a093314a2858eef65ca81248dacd;p=vaadin-framework.git Fix item description tests on IE for RadioButtonGroup and CheckBoxGroup (#9866) --- diff --git a/uitest/src/test/java/com/vaadin/tests/components/checkboxgroup/CheckBoxGroupTest.java b/uitest/src/test/java/com/vaadin/tests/components/checkboxgroup/CheckBoxGroupTest.java index 98d9cc03e5..adfe9dcc3a 100644 --- a/uitest/src/test/java/com/vaadin/tests/components/checkboxgroup/CheckBoxGroupTest.java +++ b/uitest/src/test/java/com/vaadin/tests/components/checkboxgroup/CheckBoxGroupTest.java @@ -292,4 +292,9 @@ public class CheckBoxGroupTest extends MultiBrowserTest { } } + // needed to make tooltips work in IE tests + @Override + protected boolean requireWindowFocusForIE() { + return true; + } } diff --git a/uitest/src/test/java/com/vaadin/tests/components/radiobuttongroup/RadioButtonGroupTest.java b/uitest/src/test/java/com/vaadin/tests/components/radiobuttongroup/RadioButtonGroupTest.java index 6c0b60be78..503d2d7692 100644 --- a/uitest/src/test/java/com/vaadin/tests/components/radiobuttongroup/RadioButtonGroupTest.java +++ b/uitest/src/test/java/com/vaadin/tests/components/radiobuttongroup/RadioButtonGroupTest.java @@ -246,4 +246,10 @@ public class RadioButtonGroupTest extends MultiBrowserTest { } assertEquals("Number of items", count, i); } + + // needed to make tooltips work in IE tests + @Override + protected boolean requireWindowFocusForIE() { + return true; + } }