Fixed verifyLogout test.

This commit is contained in:
Dirk Jahnke 2019-07-27 18:17:56 +02:00
parent c979367c7d
commit 2d69a31b51
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}