This commit is contained in:
Dirk Jahnke 2019-07-27 19:12:14 +02:00
parent b4205dcb4d
commit e3a260452d
1 changed files with 2 additions and 1 deletions

View File

@ -95,7 +95,8 @@ public class BasicTest {
@Test
public void verifyExistenceOfMainMenuButtons() {
driver.switchTo().defaultContent();
driver.switchTo().frame("oben");
String frameObenName = "oben";
driver.switchTo().frame(frameObenName);
// Verify existence of menu buttons
Assert.assertEquals(FredlTestHelper.elementExistsById("admin-menu-button"), true);
Assert.assertEquals(FredlTestHelper.elementExistsById("loco-menu-button"), true);