public abstract class AbstractPrincipalPage<T extends AbstractPrincipalPage> extends AbstractCrowdPage
Modifier and Type | Field and Description |
---|---|
protected com.atlassian.pageobjects.elements.PageElement |
cancelButton |
protected com.atlassian.pageobjects.elements.PageElement |
displayName |
protected com.atlassian.pageobjects.elements.PageElement |
email |
protected com.atlassian.pageobjects.elements.PageElement |
firstName |
protected com.atlassian.pageobjects.elements.PageElement |
lastName |
protected com.atlassian.pageobjects.elements.PageElement |
password |
protected com.atlassian.pageobjects.elements.PageElement |
passwordConfirm |
auiMessages, DEFAULT_CANCEL_BUTTON_ID, DEFAULT_SUBMIT_BUTTON_SELECTOR, driver, finder, footer, forgedLicenseWarningBanner, I18N, NEXT_BUTTON_SELECTOR, pageBinder, systemAdminMenu, TABLE_ROWS_SELECTOR, VALUE_DATA_ATTRIBUTE
Constructor and Description |
---|
AbstractPrincipalPage() |
Modifier and Type | Method and Description |
---|---|
T |
cancel() |
abstract String |
getDirectory() |
String |
getDisplayName() |
String |
getEmail() |
List<String> |
getErrors() |
String |
getFirstName() |
protected abstract com.atlassian.pageobjects.elements.PageElement |
getForm() |
String |
getLastName() |
String |
getUsername() |
protected abstract com.atlassian.pageobjects.elements.PageElement |
getUsernameField() |
protected boolean |
isContentLoaded()
Returns whether the content has loaded.
|
T |
setDisplayName(String firstName) |
T |
setEmail(String firstName) |
T |
setFirstName(String firstName) |
T |
setLastName(String firstName) |
T |
setPassword(String password) |
T |
setPasswordConfirm(String passwordConfirm) |
T |
setUsername(String userName) |
bindAndWaitUntilPageLoad, getAuiMessages, getForgedLicenseWarningBanner, getHeader, isSystemAdminMenuPresent, reloadWithoutWaitingForContent, setTextField, setTextFieldValueAndPressEnter, waitUntilAsyncFinished, waitUntilAsyncFinished, waitUntilContentLoaded, waitUntilPageLoad
protected com.atlassian.pageobjects.elements.PageElement email
protected com.atlassian.pageobjects.elements.PageElement password
protected com.atlassian.pageobjects.elements.PageElement passwordConfirm
protected com.atlassian.pageobjects.elements.PageElement firstName
protected com.atlassian.pageobjects.elements.PageElement lastName
protected com.atlassian.pageobjects.elements.PageElement displayName
protected com.atlassian.pageobjects.elements.PageElement cancelButton
protected abstract com.atlassian.pageobjects.elements.PageElement getForm()
protected abstract com.atlassian.pageobjects.elements.PageElement getUsernameField()
public abstract String getDirectory()
public String getFirstName()
public String getLastName()
public String getDisplayName()
public String getEmail()
public String getUsername()
public T cancel()
protected boolean isContentLoaded()
AbstractCrowdPage
AbstractCrowdPage.waitUntilContentLoaded()
. Subclasses should override
this method to wait for a distinguishing content to appear. E.g. a page title.isContentLoaded
in class AbstractCrowdPage
Copyright © 2021 Atlassian. All rights reserved.