Package com.atlassian.crowd.pageobjects
Class AbstractPrincipalPage<T extends AbstractPrincipalPage>
java.lang.Object
com.atlassian.crowd.pageobjects.AbstractCrowdPage
com.atlassian.crowd.pageobjects.AbstractPrincipalPage<T>
- All Implemented Interfaces:
com.atlassian.pageobjects.Page
- Direct Known Subclasses:
AddPrincipalPage
,ViewPrincipalPage
public abstract class AbstractPrincipalPage<T extends AbstractPrincipalPage>
extends AbstractCrowdPage
-
Field Summary
Modifier and TypeFieldDescriptionprotected com.atlassian.pageobjects.elements.PageElement
protected com.atlassian.pageobjects.elements.PageElement
protected com.atlassian.pageobjects.elements.PageElement
protected com.atlassian.pageobjects.elements.PageElement
protected com.atlassian.pageobjects.elements.PageElement
protected com.atlassian.pageobjects.elements.PageElement
protected com.atlassian.pageobjects.elements.PageElement
Fields inherited from class com.atlassian.crowd.pageobjects.AbstractCrowdPage
auiMessages, DEFAULT_CANCEL_BUTTON_ID, DEFAULT_FORM_FIELD_SELECTOR, DEFAULT_SUBMIT_BUTTON_SELECTOR, driver, finder, footer, forgedLicenseWarningBanner, I18N, NEXT_BUTTON_SELECTOR, pageBinder, systemAdminMenu, TABLE_ROWS_SELECTOR, VALUE_DATA_ATTRIBUTE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncancel()
abstract String
getEmail()
protected abstract com.atlassian.pageobjects.elements.PageElement
getForm()
protected abstract com.atlassian.pageobjects.elements.PageElement
protected boolean
Returns whether the content has loaded.setDisplayName
(String firstName) setFirstName
(String firstName) setLastName
(String firstName) setPassword
(String password) setPasswordConfirm
(String passwordConfirm) setUsername
(String userName) Methods inherited from class com.atlassian.crowd.pageobjects.AbstractCrowdPage
bindAndWaitUntilPageLoad, clickWithJsById, executeJavascript, getAuiMessages, getForgedLicenseWarningBanner, getHeader, getJsExecutor, getSystemAdminDropdownMenu, initializeSystemAdminMenu, isSystemAdminDropdownMenuPresent, reloadWithoutWaitingForContent, selectOptionById, selectOptionByLabel, setTextField, setTextFieldValueAndPressEnter, waitUntilAsyncFinished, waitUntilAsyncFinished, waitUntilContentLoaded, waitUntilPageLoad
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.pageobjects.Page
getUrl
-
Field Details
-
email
protected com.atlassian.pageobjects.elements.PageElement email -
password
protected com.atlassian.pageobjects.elements.PageElement password -
passwordConfirm
protected com.atlassian.pageobjects.elements.PageElement passwordConfirm -
firstName
protected com.atlassian.pageobjects.elements.PageElement firstName -
lastName
protected com.atlassian.pageobjects.elements.PageElement lastName -
displayName
protected com.atlassian.pageobjects.elements.PageElement displayName -
cancelButton
protected com.atlassian.pageobjects.elements.PageElement cancelButton
-
-
Constructor Details
-
AbstractPrincipalPage
public AbstractPrincipalPage()
-
-
Method Details
-
getForm
protected abstract com.atlassian.pageobjects.elements.PageElement getForm() -
getUsernameField
protected abstract com.atlassian.pageobjects.elements.PageElement getUsernameField() -
getDirectory
-
setFirstName
-
getFirstName
-
setLastName
-
getLastName
-
setDisplayName
-
getDisplayName
-
setEmail
-
setUsername
-
setPassword
-
setPasswordConfirm
-
getEmail
-
getUsername
-
cancel
-
getErrors
-
isContentLoaded
protected boolean isContentLoaded()Description copied from class:AbstractCrowdPage
Returns whether the content has loaded. Used inAbstractCrowdPage.waitUntilContentLoaded()
. Subclasses should override this method to wait for a distinguishing content to appear. E.g. a page title.- Overrides:
isContentLoaded
in classAbstractCrowdPage
-