diff --git a/src/test/java/BasicTest.java b/src/test/java/BasicTest.java index 6f44425..17d76ff 100644 --- a/src/test/java/BasicTest.java +++ b/src/test/java/BasicTest.java @@ -38,7 +38,7 @@ public class BasicTest { @Test public void verifyLoginAsSystemUser() { driver.navigate().to(URL); - WebElement loginButton = wait.until(elementToBeClickable(By.name("doLogin"))); + WebElement loginButton = wait.until(ExpectedConditions.elementToBeClickable(By.name("doLogin"))); driver.findElement(By.name("login")).sendKeys("system"); driver.findElement(By.name("password")).sendKeys("system");