Package org.xwiki.administration.test.po
Class AdministrationPage
- java.lang.Object
-
- org.xwiki.test.ui.po.BaseElement
-
- org.xwiki.test.ui.po.BasePage
-
- org.xwiki.test.ui.po.ViewPage
-
- org.xwiki.administration.test.po.AdministrationPage
-
public class AdministrationPage extends ViewPage
Represents the actions possible on the main Administration Page.- Since:
- 4.2M1
- Version:
- $Id: 8779f9357eeb44c1b0c65cca999f5c8f9c34c2df $
-
-
Constructor Summary
Constructors Constructor Description AdministrationPage()
-
Method Summary
-
Methods inherited from class org.xwiki.test.ui.po.ViewPage
clickBreadcrumbLink, clickWantedLink, clickWantedLink, contentContainsElement, editSection, exists, getBreadcrumb, getBreadcrumbContent, getContent, getLastModifiedText, getPageBackgroundColor, getTitleColor, getTitleFontFamily, getTranslateButton, hasBreadcrumbContent, hasBreadcrumbContent, hasTranslateButton, isInlinePage, openCommentsDocExtraPane, openHistoryDocExtraPane, openInformationDocExtraPane, scrollToTop, useShortcutForDocExtraPane, useShortcutKeyForCommentPane, useShortcutKeyForHistoryPane, useShortcutKeyForInformationPane, waitForDocExtraPaneActive, waitUntilContent
-
Methods inherited from class org.xwiki.test.ui.po.BasePage
canDelete, clickAdminActionsSubMenuEntry, clickEditSubMenuEntry, clickLocale, clickMoreActionsSubMenuEntry, copy, createInlinePage, createPage, delete, deletePage, edit, editClass, editInline, editObjects, editRights, editWiki, editWYSIWYG, getCurrentUser, getDocumentTitle, getDrawerMenu, getEditURL, getErrorContent, getHTMLMetaDataValue, getLocales, getMetaDataValue, getPageTitle, getPageURL, getXWikiMessageContent, hasLeftPanel, hasLoginLink, hasNotificationsMenu, hasRenderingError, isAuthenticated, isForbidden, isNewDocument, isNotificationsMenuOpen, login, logout, register, reloadPage, rename, sendKeys, toggleActionMenu, toggleNotificationsMenu, useShortcutKeyForClassEditing, useShortcutKeyForEditing, useShortcutKeyForInlineEditing, useShortcutKeyForObjectEditing, useShortcutKeyForPageDeletion, useShortcutKeyForPageRenaming, useShortcutKeyForRightsEditing, useShortcutKeyForSourceViewer, useShortcutKeyForWikiEditing, useShortcutKeyForWysiwygEditing, validateWCAG, validateWCAG, validateWCAG, viewChildren, watchDocument, watchSpace, watchWiki
-
Methods inherited from class org.xwiki.test.ui.po.BaseElement
getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageIsReady
-
-
-
-
Method Detail
-
gotoPage
public static AdministrationPage gotoPage()
Goes to the administration main page.- Returns:
- an administration main page object
- See Also:
to access the administration main page while forcing the edition lock
-
gotoPage
public static AdministrationPage gotoPage(boolean force)
Goes to the administration main page.- Parameters:
force
- whentrue
forces the administration lock, otherwise does nothing- Returns:
- an administration main page object
- See Also:
gotoPage()
-
gotoSpaceAdministrationPage
public static AdministrationPage gotoSpaceAdministrationPage(org.xwiki.model.reference.SpaceReference spaceReference)
Redirects to the administration page of a specified space.- Parameters:
spaceReference
- the space reference- Returns:
- the administration page of the specified space
- Since:
- 7.2M3
-
gotoSpaceAdministrationPage
public static AdministrationPage gotoSpaceAdministrationPage(String spaceReferenceString)
Redirects to the administration page of a specified space.- Parameters:
spaceReferenceString
- the string serialized space reference- Returns:
- the administration page of the specified space
- Since:
- 7.2M3
-
getURL
public static String getURL()
-
getSpace
public static String getSpace()
-
getPage
public static String getPage()
-
clickLocalizationSection
public LocalizationAdministrationSectionPage clickLocalizationSection()
-
clickImportSection
public ImportAdministrationSectionPage clickImportSection()
-
clickRegistrationSection
public AdministrationSectionPage clickRegistrationSection()
-
clickUsersSection
public UsersAdministrationSectionPage clickUsersSection()
-
clickGlobalRightsSection
public GlobalRightsAdministrationSectionPage clickGlobalRightsSection()
-
clickAnnotationsSection
public AnnotationsPage clickAnnotationsSection()
-
clickWYSIWYGEditorSection
public WYSIWYGEditorAdministrationSectionPage clickWYSIWYGEditorSection()
-
clickThemesSection
public ThemesAdministrationSectionPage clickThemesSection()
- Since:
- 9.2RC1
-
hasSection
public boolean hasSection(String sectionId)
-
hasNotSection
public boolean hasNotSection(String sectionId)
-
getAdministrationMenu
public AdministrationMenu getAdministrationMenu()
- Returns:
- the administration menu
- Since:
- 12.8RC1
-
-