@Test
public void testClosePopupRetainText() throws Exception {
openTestURL();
ComboBoxElement cb = $(ComboBoxElement.class).first();
WebElement textbox = cb.findElement(By.vaadin("#textbox"));
textbox.sendKeys("I");
cb.openPopup();
cb.openPopup(); // openPopup() actually toggles
// The entered value should remain
assertEquals("I", textbox.getAttribute("value"));