From d4296d1add37248a53ea15c5893c6e2dc6b5f1be Mon Sep 17 00:00:00 2001 From: Dirk Jahnke Date: Thu, 25 Jul 2019 14:01:40 +0200 Subject: [PATCH] Could not resolve method name --- src/test/java/BasicTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");