Use a static import for better readability
@@ -75,7 +75,7 @@ public void tearDown() {
public void shouldReportAllNodesFreeWhenGridIsStartedWithoutLoad() {
driver.get(whereIs(server, "/ui/index.html#/console"));
- WebElement ring = wait.until(ExpectedConditions.visibilityOfElementLocated(By.id("ring-system")));
+ WebElement ring = wait.until(visibilityOfElementLocated(By.id("ring-system")));
assertEquals("100% free", ring.getText());
}
