From: Aleksi Hietanen Date: Thu, 8 Dec 2016 13:45:26 +0000 (+0200) Subject: Revert changes to ComboBoxSelectingWithNewItemsAllowedTest X-Git-Tag: 8.0.0.alpha9~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=29e07bc0783646ba83f3a2f0d35432dc81a5f238;p=vaadin-framework.git Revert changes to ComboBoxSelectingWithNewItemsAllowedTest Change-Id: I7fa2b3fd79b8fddbfbd7dcfec6d4263b233789c4 --- 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 c16a80856b..b568ecf912 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 @@ -64,14 +64,6 @@ public class ComboBoxSelectingWithNewItemsAllowedTest extends MultiBrowserTest { assertThatSelectedValueIs("a"); } - @Test - public void itemIsAddedWhenClickingOutside() { - clearInputAndType("foo"); - findElement(By.tagName("body")).click(); - assertOneMoreThanInitial(); - assertThatSelectedValueIs("foo"); - } - @Test public void matchingSuggestionIsSelectedWithEnter() { typeInputAndHitEnter("a0"); @@ -130,14 +122,14 @@ public class ComboBoxSelectingWithNewItemsAllowedTest extends MultiBrowserTest { } @Test - public void selectionOnMouseOut() { + public void noSelectionAfterMouseOut() { typeInputAndHitEnter("a20"); comboBoxElement.sendKeys(Keys.ARROW_DOWN, Keys.ARROW_DOWN); findElement(By.className("v-app")).click(); assertInitialItemCount(); - assertThatSelectedValueIs("a21"); + assertThatSelectedValueIs("a20"); } @Test