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