WIP
authorKai Moritz <kai@juplo.de>
Wed, 22 Jan 2020 12:50:40 +0000 (13:50 +0100)
committerKai Moritz <kai@juplo.de>
Fri, 7 Apr 2023 11:15:40 +0000 (13:15 +0200)
src/test/java/de/juplo/demo/DemoControllerIT.java

index dc91846..79056e7 100644 (file)
@@ -40,7 +40,7 @@ public class DemoControllerIT
   {
     driver.get(baseUri + "/");
 
-    WebElement submit = driver.findElement(By.xpath(".card-footer/button"));
+    WebElement submit = driver.findElement(By.xpath("//div[@class='card-footer']/button"));
     assertThat(submit).isNotNull();
   }
 }