From 622f8b6b58e30b4360c66642537a0685651a06b3 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Wed, 22 Jan 2020 13:50:40 +0100 Subject: [PATCH] WIP --- src/test/java/de/juplo/demo/DemoControllerIT.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } } -- 2.20.1