@@ -0,0 +1,1333 @@
+package com.vaadin.tests.components.select;%0A%0Aimport com.vaadin.tests.components.TestBase;%0Aimport com.vaadin.ui.Button;%0Aimport com.vaadin.ui.ComboBox;%0Aimport com.vaadin.ui.Button.ClickEvent;%0Aimport com.vaadin.ui.Button.ClickListener;%0A%0A/**%0A * TODO can't reproduce the issue with this test case, possibly need some%0A * enhancements.%0A * %0A */%0Apublic class ComboBoxAddWhileFiltering extends TestBase %7B%0A%0A    private int i;%0A%0A    @Override%0A    protected void setup() %7B%0A        final ComboBox comboBox = new ComboBox();%0A        populate(comboBox);%0A%0A        Button b = new Button(%22add item (%5EN)%22);%0A        b.addListener(new ClickListener() %7B%0A            public void buttonClick(ClickEvent event) %7B%0A                addItem(comboBox);%0A            %7D%0A        %7D);%0A        addComponent(b);%0A        addComponent(comboBox);%0A        getMainWindow().addAction(new Button.ClickShortcut(b, %22%5En%22));%0A    %7D%0A%0A    private void populate(ComboBox comboBox) %7B%0A        for (i = 0; i %3C 4;) %7B%0A            addItem(comboBox);%0A        %7D%0A    %7D%0A%0A    private void addItem(ComboBox comboBox) %7B%0A        i++;%0A        comboBox.addItem(%22Item %22 + i);%0A%0A    %7D%0A%0A    @Override%0A    protected String getDescription() %7B%0A        return %22Filtered list should be updated when new item is added.%22;%0A    %7D%0A%0A    @Override%0A    protected Integer getTicketNumber() %7B%0A        return 3643;%0A    %7D%0A%0A%7D%0A

test case