From 2d69a31b51934ad52405a465b4f9ee0f26fa9997 Mon Sep 17 00:00:00 2001 From: Dirk Jahnke Date: Sat, 27 Jul 2019 18:17:56 +0200 Subject: [PATCH] Fixed verifyLogout test. --- src/test/java/org/fremo/fredl/test/BasicTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/fremo/fredl/test/BasicTest.java b/src/test/java/org/fremo/fredl/test/BasicTest.java index 141f169..d644aa2 100644 --- a/src/test/java/org/fremo/fredl/test/BasicTest.java +++ b/src/test/java/org/fremo/fredl/test/BasicTest.java @@ -115,10 +115,10 @@ public class BasicTest { @Test public void verifyLogout() { driver.switchTo().defaultContent(); + FredlTestHelper.printPageSource(); driver.switchTo().frame("oben"); driver.findElement(By.id("logout-menu-button")).click(); - FredlTestHelper.printPageSource(); Assert.assertEquals(FredlTestHelper.elementExistsByXpath("//input[@name='doLogin']"), true); }