summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksi Hietanen <aleksi@vaadin.com>2017-08-24 13:03:54 +0300
committerHenri Sara <henri.sara@gmail.com>2017-08-24 13:03:54 +0300
commit74e8bd248d54a093314a2858eef65ca81248dacd (patch)
tree8bb11f8e8b98d6709669e1cf47d3bdf646f13e9a
parente961143b7c7e9186bf39b499a50c08900aab5b5c (diff)
downloadvaadin-framework-74e8bd248d54a093314a2858eef65ca81248dacd.tar.gz
vaadin-framework-74e8bd248d54a093314a2858eef65ca81248dacd.zip
Fix item description tests on IE for RadioButtonGroup and CheckBoxGroup (#9866)
-rw-r--r--uitest/src/test/java/com/vaadin/tests/components/checkboxgroup/CheckBoxGroupTest.java5
-rw-r--r--uitest/src/test/java/com/vaadin/tests/components/radiobuttongroup/RadioButtonGroupTest.java6
2 files changed, 11 insertions, 0 deletions
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;
+ }
}