diff options
Diffstat (limited to 'uitest')
-rw-r--r-- | uitest/src/test/java/com/vaadin/tests/components/combobox/ComboBoxSelectingWithNewItemsAllowedTest.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/uitest/src/test/java/com/vaadin/tests/components/combobox/ComboBoxSelectingWithNewItemsAllowedTest.java b/uitest/src/test/java/com/vaadin/tests/components/combobox/ComboBoxSelectingWithNewItemsAllowedTest.java index d61bb26dad..533b651cb7 100644 --- a/uitest/src/test/java/com/vaadin/tests/components/combobox/ComboBoxSelectingWithNewItemsAllowedTest.java +++ b/uitest/src/test/java/com/vaadin/tests/components/combobox/ComboBoxSelectingWithNewItemsAllowedTest.java @@ -248,11 +248,7 @@ public class ComboBoxSelectingWithNewItemsAllowedTest extends MultiBrowserTest { } private void cancelSelection() { - if (BrowserUtil.isFirefox(getDesiredCapabilities())) { - findElement(By.className("v-app")).click(); - } else { - sendKeysToInput(Keys.ESCAPE); - } + sendKeysToInput(Keys.ESCAPE); } private void assertThatSelectedValueIs(final String value) { |