aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/main/java/com/vaadin/tests/components/combobox/ComboBoxSuggestionPopupClose.java
blob: bb4b4d7705f975b6d0924a3ba57d144dcd63f847 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package com.vaadin.tests.components.combobox;

import com.vaadin.server.VaadinRequest;
import com.vaadin.tests.components.AbstractReindeerTestUI;
import com.vaadin.ui.ComboBox;

public class ComboBoxSuggestionPopupClose extends AbstractReindeerTestUI {

    @Override
    protected void setup(VaadinRequest request) {
        final ComboBox<String> select = new ComboBox<>("ComboBox");
        select.setItems("one", "two", "three");
        addComponent(select);
    }

    @Override
    protected String getTestDescription() {
        return "Closing the suggestion popup using Enter key is "
                + "broken in combobox when opening popup using Enter "
                + "key and not changin the selection using arrows";
    }

    @Override
    protected Integer getTicketNumber() {
        return 14379;
    }
}