public abstract class CurrentSessionsPage<FilteringCriteria,Session extends AbstractSession> extends AbstractCrowdPage
Modifier and Type | Field and Description |
---|---|
protected com.atlassian.pageobjects.PageBinder |
binder |
protected com.atlassian.pageobjects.elements.PageElement |
nameFilter |
protected com.atlassian.webdriver.utils.element.WebDriverPoller |
poller |
protected com.atlassian.pageobjects.elements.PageElement |
sessionsTable |
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 |
---|
CurrentSessionsPage() |
Modifier and Type | Method and Description |
---|---|
void |
expire(Session session) |
protected String |
getLastTimestamp() |
List<Session> |
getSessions() |
protected boolean |
isContentLoaded()
Returns whether the content has loaded.
|
protected abstract Session |
sessionFromRow(List<com.atlassian.pageobjects.elements.PageElement> elements) |
void |
setFilteringCriteria(FilteringCriteria filteringCriteria) |
protected abstract void |
setFilteringElements(FilteringCriteria criteria) |
protected void |
withWaitUntilSearchFinished(Runnable function) |
bindAndWaitUntilPageLoad, getAuiMessages, getForgedLicenseWarningBanner, getHeader, isSystemAdminMenuPresent, reloadWithoutWaitingForContent, setTextField, setTextFieldValueAndPressEnter, waitUntilAsyncFinished, waitUntilAsyncFinished, waitUntilContentLoaded, waitUntilPageLoad
@Inject protected com.atlassian.pageobjects.PageBinder binder
@Inject protected com.atlassian.webdriver.utils.element.WebDriverPoller poller
protected com.atlassian.pageobjects.elements.PageElement nameFilter
protected com.atlassian.pageobjects.elements.PageElement sessionsTable
protected abstract void setFilteringElements(FilteringCriteria criteria)
protected abstract Session sessionFromRow(List<com.atlassian.pageobjects.elements.PageElement> elements)
protected void withWaitUntilSearchFinished(Runnable function)
protected String getLastTimestamp()
public void setFilteringCriteria(FilteringCriteria filteringCriteria)
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
public void expire(Session session)
Copyright © 2021 Atlassian. All rights reserved.