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 AdministrationMenu
expandCategoryWithId(String categoryId)
AdministrationMenu
expandCategoryWithName(String categoryName)
org.openqa.selenium.WebElement
getCategoryById(String categoryId)
org.openqa.selenium.WebElement
getCategoryByName(String categoryName)
org.openqa.selenium.WebElement
getSectionById(String sectionId)
org.openqa.selenium.WebElement
getSectionByName(String categoryName, String sectionName)
boolean
hasCategoryWithId(String categoryId)
boolean
hasCategoryWithName(String categoryName)
boolean
hasNotCategoryWithId(String categoryId)
boolean
hasNotCategoryWithName(String categoryName)
boolean
hasNotSectionWithId(String sectionId)
boolean
hasNotSectionWithName(String categoryName, String sectionName)
boolean
hasSectionWithId(String sectionId)
boolean
hasSectionWithName(String categoryName, String sectionName)
protected AdministrationMenu
waitUntilReady()
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
-
-