From: Kai Moritz Date: Wed, 22 Jan 2020 12:55:50 +0000 (+0100) Subject: WIP X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=fdd91aef0b56b01a82288dc97e42d3c30d507278;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 79056e7..4873566 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("//div[@class='card-footer']/button")); + WebElement submit = driver.findElement(By.xpath("//*[@class=\"card-footer\"]/button")); assertThat(submit).isNotNull(); } }