Changed test condition for doLogin button

This commit is contained in:
Dirk Jahnke 2019-07-25 14:06:39 +02:00
parent aff376e5fc
commit b2d17f7811
1 changed files with 2 additions and 1 deletions

View File

@ -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");