Package org.xwiki.invitation.test.po
Class InvitationGuestActionsPage
- java.lang.Object
-
- org.xwiki.test.ui.po.BaseElement
-
- org.xwiki.test.ui.po.BasePage
-
- org.xwiki.invitation.test.po.InvitationGuestActionsPage
-
public class InvitationGuestActionsPage extends BasePage
Represents the actions possible by guests on the invitation application.- Since:
- 4.2M1
- Version:
- $Id: de80bef7ffda98d4ded8f23fb7bd9ac162b9886f $
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InvitationGuestActionsPage.Action
-
Constructor Summary
Constructors Constructor Description InvitationGuestActionsPage()
InvitationGuestActionsPage(String messageContent, InvitationGuestActionsPage.Action action)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
confirm()
Outputs the message given after clicking the confirm button.InvitationActionConfirmationElement
getConfirmation()
String
getMessage()
static InvitationGuestActionsPage
gotoPage(String htmlMessageContent, InvitationGuestActionsPage.Action action)
void
setMemo(String memo)
This will fail if the action is accept because the user is redirected to a RegistrationPage.-
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
-
-
-
-
Constructor Detail
-
InvitationGuestActionsPage
public InvitationGuestActionsPage(String messageContent, InvitationGuestActionsPage.Action action)
-
InvitationGuestActionsPage
public InvitationGuestActionsPage()
-
-
Method Detail
-
setMemo
public void setMemo(String memo)
This will fail if the action is accept because the user is redirected to a RegistrationPage.
-
getMessage
public String getMessage()
-
confirm
public String confirm()
Outputs the message given after clicking the confirm button.
-
getConfirmation
public InvitationActionConfirmationElement getConfirmation()
- Returns:
- the InvitationActionConfirmationElement on this page.
- Since:
- 6.3M1
-
gotoPage
public static InvitationGuestActionsPage gotoPage(String htmlMessageContent, InvitationGuestActionsPage.Action action)
- Parameters:
htmlMessageContent
- the html message received by the guest containing the link to the accept pageaction
- the action to be performed by the guest- Returns:
- the corresponding page object
- Since:
- 6.3M1
-
-