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 String
RESET_PASSWORD_URL_RESOURCE
Resource 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 ResetPasswordPage
clickResetPassword()
ResetPasswordPage
clickRetry()
String
getMessage()
static String
getResetPasswordURL()
String
getUserName()
static ResetPasswordPage
gotoPage()
boolean
isFormSubmitted()
This method only checks if the form was properly submitted and didn't return an error.void
setUserName(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, 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
-
-
-
-
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:
true
if the form is properly submitted.
-
getMessage
public String getMessage()
-
clickRetry
public ResetPasswordPage clickRetry()
-
-