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 static ResourceBundle |
I18N |
protected static String |
NEXT_BUTTON_SELECTOR |
protected com.atlassian.pageobjects.PageBinder |
pageBinder |
protected com.atlassian.pageobjects.elements.PageElement |
systemAdminMenu |
protected static org.openqa.selenium.By |
TABLE_ROWS_SELECTOR |
protected static String |
VALUE_DATA_ATTRIBUTE |
Constructor and Description |
---|
AbstractCrowdPage() |
Modifier and Type | Method and Description |
---|---|
AuiMessages |
getAuiMessages() |
CrowdHeader |
getHeader() |
protected String |
getReactMessage(com.atlassian.pageobjects.elements.PageElement messageSection) |
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 |
waitUntilContentLoaded() |
protected void |
waitUntilPageLoad()
Waits until the page has fully loaded.
|
protected static final ResourceBundle I18N
public static final String DEFAULT_SUBMIT_BUTTON_SELECTOR
protected static final String DEFAULT_CANCEL_BUTTON_ID
protected static final org.openqa.selenium.By TABLE_ROWS_SELECTOR
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 final void waitUntilPageLoad()
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()
protected String getReactMessage(com.atlassian.pageobjects.elements.PageElement messageSection)
public void reloadWithoutWaitingForContent()
Copyright © 2020 Atlassian. All rights reserved.