Could not resolve method name

This commit is contained in:
Dirk Jahnke 2019-07-25 14:01:40 +02:00
parent 55c86ac27c
commit d4296d1add
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ public class BasicTest {
@Test @Test
public void verifyLoginAsSystemUser() { public void verifyLoginAsSystemUser() {
driver.navigate().to(URL); 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("login")).sendKeys("system");
driver.findElement(By.name("password")).sendKeys("system"); driver.findElement(By.name("password")).sendKeys("system");