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