public abstract class AbstractCrowdPage extends Object implements com.atlassian.pageobjects.Page
Modifier and Type | Field and Description |
---|---|
protected AuiMessages |
auiMessages |
protected static String |
DEFAULT_CANCEL_BUTTON_ID |
static String |
DEFAULT_SUBMIT_BUTTON_SELECTOR |
protected org.openqa.selenium.WebDriver |
driver |
protected com.atlassian.pageobjects.elements.PageElementFinder |
finder |
protected com.atlassian.pageobjects.elements.PageElement |
footer |
protected com.atlassian.pageobjects.elements.PageElement |
forgedLicenseWarningBanner |
protected static ResourceBundle |
I18N |
protected static String |
NEXT_BUTTON_SELECTOR |
protected com.atlassian.pageobjects.PageBinder |
pageBinder |
protected com.atlassian.pageobjects.elements.PageElement |
systemAdminMenu |
static org.openqa.selenium.By |
TABLE_ROWS_SELECTOR |
protected static String |
VALUE_DATA_ATTRIBUTE |
Constructor and Description |
---|
AbstractCrowdPage() |
Modifier and Type | Method and Description |
---|---|
protected <T extends AbstractCrowdPage> |
bindAndWaitUntilPageLoad(Class<T> pageClass,
Object... vars) |
AuiMessages |
getAuiMessages() |
com.atlassian.pageobjects.elements.PageElement |
getForgedLicenseWarningBanner() |
CrowdHeader |
getHeader() |
protected boolean |
isContentLoaded()
Returns whether the content has loaded.
|
boolean |
isSystemAdminMenuPresent() |
void |
reloadWithoutWaitingForContent() |
protected void |
setTextField(com.atlassian.pageobjects.elements.PageElement element,
CharSequence value) |
protected void |
setTextFieldValueAndPressEnter(com.atlassian.pageobjects.elements.PageElement element,
CharSequence value) |
protected void |
waitUntilAsyncFinished() |
static void |
waitUntilAsyncFinished(org.openqa.selenium.WebDriver driver) |
protected void |
waitUntilContentLoaded() |
protected void |
waitUntilPageLoad()
Waits until the page has fully loaded.
|
protected static final ResourceBundle I18N
public static final String DEFAULT_SUBMIT_BUTTON_SELECTOR
public static final org.openqa.selenium.By TABLE_ROWS_SELECTOR
protected static final String DEFAULT_CANCEL_BUTTON_ID
protected static final String NEXT_BUTTON_SELECTOR
protected static final String VALUE_DATA_ATTRIBUTE
@Inject protected com.atlassian.pageobjects.PageBinder pageBinder
@Inject protected AuiMessages auiMessages
@Inject protected com.atlassian.pageobjects.elements.PageElementFinder finder
@Inject protected org.openqa.selenium.WebDriver driver
protected com.atlassian.pageobjects.elements.PageElement footer
protected com.atlassian.pageobjects.elements.PageElement systemAdminMenu
protected com.atlassian.pageobjects.elements.PageElement forgedLicenseWarningBanner
protected final void waitUntilPageLoad()
protected <T extends AbstractCrowdPage> T bindAndWaitUntilPageLoad(Class<T> pageClass, Object... vars)
public CrowdHeader getHeader()
protected boolean isContentLoaded()
waitUntilContentLoaded()
. Subclasses should override
this method to wait for a distinguishing content to appear. E.g. a page title.protected void waitUntilContentLoaded()
protected void setTextField(com.atlassian.pageobjects.elements.PageElement element, CharSequence value)
protected void setTextFieldValueAndPressEnter(com.atlassian.pageobjects.elements.PageElement element, CharSequence value)
public AuiMessages getAuiMessages()
public boolean isSystemAdminMenuPresent()
public void reloadWithoutWaitingForContent()
protected void waitUntilAsyncFinished()
public static void waitUntilAsyncFinished(org.openqa.selenium.WebDriver driver)
public com.atlassian.pageobjects.elements.PageElement getForgedLicenseWarningBanner()
Copyright © 2021 Atlassian. All rights reserved.