@Test @Templates("plain") @UseWithField(field = "positioning", valuesFrom = FROM_ENUM, value = "") public void testJointPoint() { Locations l = Utils.getLocations(popupCalendar.getRootElement()); testJointPoint( l.getWidth(), l.getHeight(), new ShowElementAndReturnAction() { @Override public WebElement perform() { return popupCalendar.openPopup().getRoot(); } }); }
public void testJointPoint() { updateDropDownMenuInvoker(); getCurrentMenu().advanced().show(page.getTarget1()); Locations l = Utils.getLocations(page.getFileMenu()); testJointPoint( l.getWidth(), l.getHeight(), new ShowElementAndReturnAction() { @Override public WebElement perform() { getCurrentMenu().advanced().show(page.getTarget1()); return getCurrentMenu().advanced().getMenuPopup(); } }); }
@Test(groups = "smoke") @Templates("plain") @RegressionTest("https://issues.jboss.org/browse/RF-10218") @UseWithField(field = "positioning", valuesFrom = FROM_ENUM, value = "") public void testJointPoint() { openMenu(); Locations l = Utils.getLocations(group); testJointPoint( l.getWidth(), l.getHeight(), new ShowElementAndReturnAction() { @Override public WebElement perform() { openMenuAndSubMenu(); return groupList; } }); }