Package org.xwiki.test.ui.po
Class AbstractRegistrationPage
- java.lang.Object
-
- org.xwiki.test.ui.po.BaseElement
-
- org.xwiki.test.ui.po.BasePage
-
- org.xwiki.test.ui.po.AbstractRegistrationPage
-
- Direct Known Subclasses:
RegistrationPage
public abstract class AbstractRegistrationPage extends BasePage
Represents the actions possible for the different registration pages (standard registration page and the registration modal).- Since:
- 3.2M3
- Version:
- $Id: b0e1598469b679572b9b206a7217c9b67309831b $
-
-
Constructor Summary
Constructors Constructor Description AbstractRegistrationPage()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
clickRegister()
void
fillInJohnSmithValues()
void
fillRegisterForm(String firstName, String lastName, String username, String password, String confirmPassword, String email)
List<org.openqa.selenium.WebElement>
getValidationFailureMessages()
boolean
isLiveValidationEnabled()
void
triggerLiveValidation()
Try to make LiveValidation validate the forms.boolean
validationFailureMessagesInclude(String message)
-
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
-
clickRegister
public abstract void clickRegister()
-
fillInJohnSmithValues
public void fillInJohnSmithValues()
-
fillRegisterForm
public void fillRegisterForm(String firstName, String lastName, String username, String password, String confirmPassword, String email)
-
getValidationFailureMessages
public List<org.openqa.selenium.WebElement> getValidationFailureMessages()
- Returns:
- a list of WebElements representing validation failure messages. Use after calling register()
-
validationFailureMessagesInclude
public boolean validationFailureMessagesInclude(String message)
- Returns:
- Is the specified message included in the list of validation failure messages.
-
triggerLiveValidation
public void triggerLiveValidation()
Try to make LiveValidation validate the forms.
-
isLiveValidationEnabled
public boolean isLiveValidationEnabled()
-
-