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