public abstract class AbstractBambooPage extends Object implements com.atlassian.pageobjects.Page
Modifier and Type | Field and Description |
---|---|
protected org.openqa.selenium.WebDriver |
driver |
protected com.atlassian.pageobjects.elements.PageElementFinder |
elementFinder |
protected com.atlassian.pageobjects.PageBinder |
pageBinder |
protected com.atlassian.webdriver.utils.element.WebDriverPoller |
poller |
protected BambooWebDriverTestedProduct |
testedProduct |
protected com.atlassian.pageobjects.elements.timeout.Timeouts |
timeouts |
Constructor and Description |
---|
AbstractBambooPage() |
Modifier and Type | Method and Description |
---|---|
protected void |
click(com.atlassian.pageobjects.elements.PageElement pageElement) |
void |
doWait()
This uses
isPageLoaded() by default. |
void |
ensureIndicatorPresent()
Checks for presence of
indicator() by default. |
BambooFooter |
getFooter() |
BambooHeader |
getHeader() |
abstract com.atlassian.pageobjects.elements.PageElement |
indicator()
This must return an element whose presence indicates that we're on given page.
|
boolean |
isAdmin() |
boolean |
isLoggedIn() |
protected com.atlassian.pageobjects.elements.query.TimedCondition |
isPageLoaded()
This indicates that the page has loaded and the presence of indicator may be verified.
|
protected void |
sendEscapeKey() |
protected void |
waitUntilElementIsLocated(org.openqa.selenium.By by) |
void |
waitUntilElementIsNotLocated(org.openqa.selenium.By by) |
protected void |
waitUntilElementIsNotVisible(org.openqa.selenium.By by) |
void |
waitUntilElementIsVisible(org.openqa.selenium.By by) |
@Inject protected org.openqa.selenium.WebDriver driver
@Inject protected com.atlassian.pageobjects.PageBinder pageBinder
@Inject protected com.atlassian.pageobjects.elements.PageElementFinder elementFinder
@Inject protected BambooWebDriverTestedProduct testedProduct
@Inject protected com.atlassian.webdriver.utils.element.WebDriverPoller poller
@Inject protected com.atlassian.pageobjects.elements.timeout.Timeouts timeouts
public void doWait()
This uses isPageLoaded()
by default.
If different wait functionality is required, just override this method.
public void ensureIndicatorPresent()
Checks for presence of indicator()
by default.
If different wait functionality is required, just override this method.
protected com.atlassian.pageobjects.elements.query.TimedCondition isPageLoaded()
public abstract com.atlassian.pageobjects.elements.PageElement indicator()
public boolean isAdmin()
public boolean isLoggedIn()
public BambooHeader getHeader()
public BambooFooter getFooter()
protected void sendEscapeKey()
public void waitUntilElementIsVisible(org.openqa.selenium.By by)
protected void waitUntilElementIsNotVisible(org.openqa.selenium.By by)
protected void waitUntilElementIsLocated(org.openqa.selenium.By by)
public void waitUntilElementIsNotLocated(org.openqa.selenium.By by)
protected void click(com.atlassian.pageobjects.elements.PageElement pageElement)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.