From fdd91aef0b56b01a82288dc97e42d3c30d507278 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Wed, 22 Jan 2020 13:55:50 +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 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(); } } -- 2.20.1