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: 387795ffc758b61b5a3759b4b217ddc4b1645e3c $
-
-
Constructor Summary
Constructors Constructor Description DrawerMenu()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclickEntry(String entryName)Click the passed menu entry link.booleanhasEntry(String entryName)booleanhide()booleanisVisible()booleanshow()voidtoggle()-
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
-
-