Fixed verifyLogout test.
This commit is contained in:
parent
c979367c7d
commit
2d69a31b51
|
@ -115,10 +115,10 @@ public class BasicTest {
|
||||||
@Test
|
@Test
|
||||||
public void verifyLogout() {
|
public void verifyLogout() {
|
||||||
driver.switchTo().defaultContent();
|
driver.switchTo().defaultContent();
|
||||||
|
FredlTestHelper.printPageSource();
|
||||||
driver.switchTo().frame("oben");
|
driver.switchTo().frame("oben");
|
||||||
driver.findElement(By.id("logout-menu-button")).click();
|
driver.findElement(By.id("logout-menu-button")).click();
|
||||||
|
|
||||||
FredlTestHelper.printPageSource();
|
|
||||||
|
|
||||||
Assert.assertEquals(FredlTestHelper.elementExistsByXpath("//input[@name='doLogin']"), true);
|
Assert.assertEquals(FredlTestHelper.elementExistsByXpath("//input[@name='doLogin']"), true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue