From 6d4ddbcc00d043f03250f4a4cb3a46fa2359773f Mon Sep 17 00:00:00 2001 From: Dirk Jahnke Date: Thu, 25 Jul 2019 13:42:43 +0200 Subject: [PATCH] Fixed syntax errors --- src/test/java/BasicTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/BasicTest.java b/src/test/java/BasicTest.java index 8566c57..65a4acb 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(elementToBeClickable(By.name("doLogin"))); driver.findElement(By.name("login")).sendKeys("system"); driver.findElement(By.name("password")).sendKeys("system"); @@ -51,7 +51,7 @@ public class BasicTest { //wait.until(ExpectedConditions.ElementIsVisible(By.className("menu"))); wait.until(titleIs("FreDL")); //driver.switchTo().frame("oben"); - WebElement obenFrame = wait.until(frameToBeAvailableAndSwitchToIt("oben"); + WebElement obenFrame = wait.until(frameToBeAvailableAndSwitchToIt("oben")); String versionInfo = driver.findElement(By.xpath("/table/tr/td/b")).getText(); String userInfo = driver.findElement(By.xpath("/table/tr/td[3]")).getText();