Package org.xwiki.administration.test.po
Class AdministrationMenu
- java.lang.Object
-
- org.xwiki.test.ui.po.BaseElement
-
- org.xwiki.administration.test.po.AdministrationMenu
-
public class AdministrationMenu extends BaseElement
Page object used to interact with the Administration menu.- Since:
- 9.2RC1
- Version:
- $Id: 2f477fc7502b3a338d4ff29b49a8bada5bdd04be $
-
-
Constructor Summary
Constructors Constructor Description AdministrationMenu()Create a new instance and waits for the menu to be ready for user interaction.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdministrationMenuexpandCategoryWithId(String categoryId)AdministrationMenuexpandCategoryWithName(String categoryName)org.openqa.selenium.WebElementgetCategoryById(String categoryId)org.openqa.selenium.WebElementgetCategoryByName(String categoryName)org.openqa.selenium.WebElementgetSectionById(String sectionId)org.openqa.selenium.WebElementgetSectionByName(String categoryName, String sectionName)booleanhasCategoryWithId(String categoryId)booleanhasCategoryWithName(String categoryName)booleanhasNotCategoryWithId(String categoryId)booleanhasNotCategoryWithName(String categoryName)booleanhasNotSectionWithId(String sectionId)booleanhasNotSectionWithName(String categoryName, String sectionName)booleanhasSectionWithId(String sectionId)booleanhasSectionWithName(String categoryName, String sectionName)protected AdministrationMenuwaitUntilReady()Wait for the menu to be ready for user interaction.-
Methods inherited from class org.xwiki.test.ui.po.BaseElement
getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageIsReady
-
-
-
-
Method Detail
-
getCategoryByName
public org.openqa.selenium.WebElement getCategoryByName(String categoryName)
-
getCategoryById
public org.openqa.selenium.WebElement getCategoryById(String categoryId)
-
hasCategoryWithId
public boolean hasCategoryWithId(String categoryId)
-
hasCategoryWithName
public boolean hasCategoryWithName(String categoryName)
-
hasNotCategoryWithId
public boolean hasNotCategoryWithId(String categoryId)
-
hasNotCategoryWithName
public boolean hasNotCategoryWithName(String categoryName)
-
expandCategoryWithId
public AdministrationMenu expandCategoryWithId(String categoryId)
-
expandCategoryWithName
public AdministrationMenu expandCategoryWithName(String categoryName)
-
getSectionByName
public org.openqa.selenium.WebElement getSectionByName(String categoryName, String sectionName)
-
getSectionById
public org.openqa.selenium.WebElement getSectionById(String sectionId)
-
hasSectionWithId
public boolean hasSectionWithId(String sectionId)
-
hasNotSectionWithId
public boolean hasNotSectionWithId(String sectionId)
-
hasNotSectionWithName
public boolean hasNotSectionWithName(String categoryName, String sectionName)
-
waitUntilReady
protected AdministrationMenu waitUntilReady()
Wait for the menu to be ready for user interaction.- Returns:
- this administration menu
- Since:
- 12.8RC1
-
-