From 29e07bc0783646ba83f3a2f0d35432dc81a5f238 Mon Sep 17 00:00:00 2001 From: Aleksi Hietanen Date: Thu, 8 Dec 2016 15:45:26 +0200 Subject: [PATCH] Revert changes to ComboBoxSelectingWithNewItemsAllowedTest Change-Id: I7fa2b3fd79b8fddbfbd7dcfec6d4263b233789c4 --- .../ComboBoxSelectingWithNewItemsAllowedTest.java | 12 ++---------- 1 file changed, 2 insertions(+), 10 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 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 -- 2.39.5