Debug ......

This commit is contained in:
Dirk Jahnke 2019-07-27 19:35:00 +02:00
parent 83f5e9feba
commit f99a6cdef0
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +96,7 @@ public class BasicTest {
public void verifyExistenceOfMainMenuButtons() {
driver.switchTo().defaultContent();
FredlTestHelper.printPageSource();
Assert.assertEquals(FredlTestHelper.elementExistsByXpath("//frame[@name='oben']"), true);
driver.switchTo().frame(driver.findElement(By.xpath("//frame[@name='oben']")));
// Verify existence of menu buttons
Assert.assertEquals(FredlTestHelper.elementExistsById("admin-menu-button"), true);