aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksi Hietanen <aleksi@vaadin.com>2016-12-08 15:45:26 +0200
committerPekka Hyvönen <pekka@vaadin.com>2016-12-09 09:39:00 +0200
commit29e07bc0783646ba83f3a2f0d35432dc81a5f238 (patch)
tree05b9784b3cddfae3b41e7c7473d3f333b3ce247c
parentc2aeeac3f182e3c110212f13b365e24e2825a539 (diff)
downloadvaadin-framework-29e07bc0783646ba83f3a2f0d35432dc81a5f238.tar.gz
vaadin-framework-29e07bc0783646ba83f3a2f0d35432dc81a5f238.zip
Revert changes to ComboBoxSelectingWithNewItemsAllowedTest
Change-Id: I7fa2b3fd79b8fddbfbd7dcfec6d4263b233789c4
-rw-r--r--uitest/src/test/java/com/vaadin/tests/components/combobox/ComboBoxSelectingWithNewItemsAllowedTest.java12
1 files 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
@@ -65,14 +65,6 @@ public class ComboBoxSelectingWithNewItemsAllowedTest extends MultiBrowserTest {
}
@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