Package org.xwiki.test.ui.po
Class DrawerMenu
- java.lang.Object
-
- org.xwiki.test.ui.po.BaseElement
-
- org.xwiki.test.ui.po.DrawerMenu
-
public class DrawerMenu extends BaseElement
Represents the Drawer Menu available on all pages.- Since:
- 15.2RC1
- Version:
- $Id: 4d140e48828192f2bfe6a12e33264a8103547dd0 $
-
-
Constructor Summary
Constructors Constructor Description DrawerMenu()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clickEntry(String entryName)
Click the passed menu entry link.boolean
hasEntry(String entryName)
boolean
hide()
boolean
isVisible()
boolean
show()
void
toggle()
-
Methods inherited from class org.xwiki.test.ui.po.BaseElement
getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageIsReady
-
-
-
-
Method Detail
-
toggle
public void toggle()
-
isVisible
public boolean isVisible()
-
show
public boolean show()
-
hide
public boolean hide()
- Returns:
- true if the drawer used to be displayed
-
clickEntry
public void clickEntry(String entryName)
Click the passed menu entry link.- Parameters:
entryName
- the displayed name of the entry link
-
hasEntry
public boolean hasEntry(String entryName)
- Parameters:
entryName
- the displayed name of the entry link- Returns:
- true if the entry exists or false otherwise
-
-