Package org.xwiki.like.test.po
Class DashboardEditPage
- java.lang.Object
-
- org.xwiki.test.ui.po.BaseElement
-
- org.xwiki.like.test.po.DashboardEditPage
-
public class DashboardEditPage extends BaseElement
- Since:
- 14.9
- Version:
- $Id: a4a82759782a47d8b0df15a046d2016c8741167c $
-
-
Constructor Summary
Constructors Constructor Description DashboardEditPage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MacroDialogSelectModal
clickAddGadget()
Click on the "Add gadget" button.int
countGadgets()
void
waitForDashboardsCount(int expectedCount)
Wait until the number of dashboard matches the expected count.-
Methods inherited from class org.xwiki.test.ui.po.BaseElement
getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageIsReady
-
-
-
-
Method Detail
-
countGadgets
public int countGadgets()
- Returns:
- the number of existing gadgets
-
clickAddGadget
public MacroDialogSelectModal clickAddGadget()
Click on the "Add gadget" button.- Returns:
- a page object instance for the macro dialog selection modal opened after the click
-
waitForDashboardsCount
public void waitForDashboardsCount(int expectedCount)
Wait until the number of dashboard matches the expected count.- Parameters:
expectedCount
- the expected number of dashboards- Since:
- 15.1, 14.10.6
-
-