Package org.xwiki.user.test.po
Class AbstractUserProfilePage
- java.lang.Object
-
- org.xwiki.test.ui.po.BaseElement
-
- org.xwiki.test.ui.po.BasePage
-
- org.xwiki.test.ui.po.ViewPage
-
- org.xwiki.user.test.po.AbstractUserProfilePage
-
- Direct Known Subclasses:
GroupsUserProfilePage
,NetworkUserProfilePage
,PreferencesUserProfilePage
,ProfileUserProfilePage
public class AbstractUserProfilePage extends ViewPage
Common page object for all Profile page tabs (profile tab, preferences tab, watchlist tab).- Since:
- 4.2M1
- Version:
- $Id: 79540c8b6e63c16744ec096627f9256d23fec80f $
-
-
Constructor Summary
Constructors Constructor Description AbstractUserProfilePage(String username)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getAvailableCategories()
Retrieve the list of menu categories available.String
getUsername()
PreferencesUserProfilePage
switchToPreferences()
ProfileUserProfilePage
switchToProfile()
-
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
-
-
-
-
Constructor Detail
-
AbstractUserProfilePage
public AbstractUserProfilePage(String username)
-
-
Method Detail
-
getUsername
public String getUsername()
-
getAvailableCategories
@Unstable public List<String> getAvailableCategories()
Retrieve the list of menu categories available. Note that if a category is not displayed in the menu, then it cannot be displayed at all.- Returns:
- the list of menu items available.
- Since:
- 13.2RC1
-
switchToProfile
public ProfileUserProfilePage switchToProfile()
-
switchToPreferences
public PreferencesUserProfilePage switchToPreferences()
-
-