From: Kai Moritz Date: Wed, 22 Jan 2020 12:50:40 +0000 (+0100) Subject: WIP X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=622f8b6b58e30b4360c66642537a0685651a06b3;p=demos%2Fspring-boot WIP --- diff --git a/src/test/java/de/juplo/demo/DemoControllerIT.java b/src/test/java/de/juplo/demo/DemoControllerIT.java index dc91846..79056e7 100644 --- a/src/test/java/de/juplo/demo/DemoControllerIT.java +++ b/src/test/java/de/juplo/demo/DemoControllerIT.java @@ -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(); } }