Package org.xwiki.administration.test.po
Class ResetPasswordPage
- 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.ResetPasswordPage
-
public class ResetPasswordPage extends ViewPage
Represents the actions possible on the XWiki.ResetPassword page.- Since:
- 7.0M2
- Version:
- $Id: ae0fe867743ae6dfd8ecddb5d9e54bd8c50298ec $
-
-
Field Summary
Fields Modifier and Type Field Description static StringRESET_PASSWORD_URL_RESOURCEResource action used for the reset password handling.
-
Constructor Summary
Constructors Constructor Description ResetPasswordPage()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ResetPasswordPageclickResetPassword()ResetPasswordPageclickRetry()StringgetMessage()static StringgetResetPasswordURL()StringgetUserName()static ResetPasswordPagegotoPage()booleanisFormSubmitted()This method only checks if the form was properly submitted and didn't return an error.voidsetUserName(String userName)-
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, getEditURL, getErrorContent, getHTMLMetaDataValue, getLocales, getMetaDataValue, getPageTitle, getPageURL, getXWikiMessageContent, hasLeftPanel, hasLoginLink, hasNotificationsMenu, hasRenderingError, hideDrawer, isAuthenticated, isDrawerVisible, isForbidden, isNewDocument, isNotificationsMenuOpen, login, logout, register, reloadPage, rename, sendKeys, showDrawer, toggleActionMenu, toggleDrawer, toggleNotificationsMenu, useShortcutKeyForClassEditing, useShortcutKeyForEditing, useShortcutKeyForInlineEditing, useShortcutKeyForObjectEditing, useShortcutKeyForPageDeletion, useShortcutKeyForPageRenaming, useShortcutKeyForRightsEditing, useShortcutKeyForSourceViewer, useShortcutKeyForWikiEditing, useShortcutKeyForWysiwygEditing, viewChildren, watchDocument, watchSpace, watchWiki
-
Methods inherited from class org.xwiki.test.ui.po.BaseElement
getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageIsReady
-
-
-
-
Field Detail
-
RESET_PASSWORD_URL_RESOURCE
public static final String RESET_PASSWORD_URL_RESOURCE
Resource action used for the reset password handling.- See Also:
- Constant Field Values
-
-
Method Detail
-
getResetPasswordURL
public static String getResetPasswordURL()
-
gotoPage
public static ResetPasswordPage gotoPage()
-
getUserName
public String getUserName()
-
setUserName
public void setUserName(String userName)
-
clickResetPassword
public ResetPasswordPage clickResetPassword()
-
isFormSubmitted
public boolean isFormSubmitted()
This method only checks if the form was properly submitted and didn't return an error. It does not mean that an email was necessarily sent.- Returns:
trueif the form is properly submitted.
-
getMessage
public String getMessage()
-
clickRetry
public ResetPasswordPage clickRetry()
-
-