Package org.xwiki.administration.test.po
Class ResetPasswordCompletePage
- 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.ResetPasswordCompletePage
-
public class ResetPasswordCompletePage extends ViewPage
Represents the actions possible on the XWiki.ResetPasswordComplete page, where a user lands by using a reset password link provided by mail by the XWiki.ResetPassword page.- Version:
- $Id: 9cb3a8dff9e8a641cf9afbbc86379db148c91baa $
-
-
Constructor Summary
Constructors Constructor Description ResetPasswordCompletePage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LoginPageclickLogin()ResetPasswordCompletePageclickSave()StringgetMessage()StringgetPassowrd()StringgetPasswordConfirmation()booleanisPasswordSuccessfullyReset()booleanisResetLinkValid()To be called the first time the page is opened, using a password reset link.voidsetPassword(String newPassword)voidsetPasswordConfirmation(String newPasswordConfirmation)-
Methods inherited from class org.xwiki.test.ui.po.ViewPage
clickBreadcrumbLink, clickWantedLink, clickWantedLink, contentContainsElement, editSection, exists, getBreadcrumb, getBreadcrumbContent, getContent, 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, 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
-
-
-
-
Method Detail
-
isResetLinkValid
public boolean isResetLinkValid()
To be called the first time the page is opened, using a password reset link.- Returns:
- true if the reset link is valid and the form to change the password is being displayed, false otherwise.
-
getPassowrd
public String getPassowrd()
-
setPassword
public void setPassword(String newPassword)
-
getPasswordConfirmation
public String getPasswordConfirmation()
-
setPasswordConfirmation
public void setPasswordConfirmation(String newPasswordConfirmation)
-
clickSave
public ResetPasswordCompletePage clickSave()
-
isPasswordSuccessfullyReset
public boolean isPasswordSuccessfullyReset()
-
getMessage
public String getMessage()
-
clickLogin
public LoginPage clickLogin()
-
-