* wrong screenshots and JRE version
* delay for submenu
WebElement jreVersionLabel = vaadinElementById("jreVersionLabel");
assertThat(jreVersionLabel.getText(),
- is("Using Java 1.6.0_45 by Sun Microsystems Inc."));
+ is("Using Java 1.8.0_181 by Oracle Corporation"));
}
}
}
@Test
- public void imageIconsRendered() {
+ public void imageIconsRendered() throws Exception {
openTestURL();
MenuBarElement menu = $(MenuBarElement.class).id("image");
WebElement moreItem = menu
assertImage(image, hasSubElement.findElement(By.vaadin("#Sub item")));
// Close sub menu
hasSubElement.click();
-
+
+ sleep(500);
assertImage(image, moreItem);
moreItem.click();