Changed test condition for doLogin button
This commit is contained in:
@@ -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");
|
||||
|
Reference in New Issue
Block a user