public class BrowseProjectsPage extends AbstractJiraPage
Modifier and Type | Class and Description |
---|---|
static class |
BrowseProjectsPage.Project |
Modifier and Type | Field and Description |
---|---|
static String |
ALL |
static String |
ARCHIVED |
static String |
NO_CATEGORY |
static String |
RECENT |
body, driver, elementFinder, javascriptExecutor, metaElement, pageBinder, timeouts, webDriverPoller
Constructor and Description |
---|
BrowseProjectsPage() |
BrowseProjectsPage(String selectedCategory,
String containsFilter,
int page) |
BrowseProjectsPage(String selectedCategory,
String containsFilter,
int page,
boolean inAdminMode) |
Modifier and Type | Method and Description |
---|---|
BrowseProjectsPage |
filterByCategory(String category) |
BrowseProjectsPage |
filterByText(String text) |
com.atlassian.pageobjects.elements.PageElement |
getAriaLiveText() |
com.atlassian.pageobjects.elements.query.TimedQuery<String> |
getCurrentPageNumber() |
static Map<String,String> |
getFilterParamsFromUrl(String url) |
com.atlassian.pageobjects.elements.query.TimedQuery<String> |
getNumberOfPages() |
protected String |
getParams() |
BrowseProjectsPage.Project |
getProjectAt(int index)
Return project at given position in table
|
List<String> |
getProjectKeys() |
com.atlassian.pageobjects.elements.PageElement |
getTableHeaderButton(String columnName) |
String |
getUrl() |
BrowseProjectsPage |
goToNextPage() |
BrowseProjectsPage |
goToPage(int number) |
BrowseProjectsPage |
goToPreviousPage() |
boolean |
hasCategoryLink(String category) |
com.atlassian.pageobjects.elements.query.TimedCondition |
hasPagination() |
boolean |
isAllowed() |
com.atlassian.pageobjects.elements.query.TimedCondition |
isAt()
Timed condition checking if we're at given page.
|
boolean |
isAtAriaLiveRegionPresented() |
com.atlassian.pageobjects.elements.query.TimedCondition |
isEmpty() |
boolean |
isForbidden() |
void |
sortByColumn(String columnName) |
back, doWait, execKeyboardShortcut, getHeader, getPageTitle, getXsrfToken, isAdmin, isLoggedIn
public static final String ALL
public static final String RECENT
public static final String NO_CATEGORY
public static final String ARCHIVED
public BrowseProjectsPage()
public BrowseProjectsPage(String selectedCategory, String containsFilter, int page)
public String getUrl()
getUrl
in interface com.atlassian.pageobjects.Page
public com.atlassian.pageobjects.elements.query.TimedCondition isAt()
AbstractJiraPage
isAt
in class AbstractJiraPage
public boolean isAtAriaLiveRegionPresented()
public boolean isAllowed()
public boolean isForbidden()
public com.atlassian.pageobjects.elements.query.TimedCondition isEmpty()
public BrowseProjectsPage filterByText(String text)
public boolean hasCategoryLink(String category)
public BrowseProjectsPage filterByCategory(String category)
public BrowseProjectsPage goToPage(int number)
public BrowseProjectsPage goToNextPage()
public BrowseProjectsPage goToPreviousPage()
public com.atlassian.pageobjects.elements.query.TimedQuery<String> getCurrentPageNumber()
public com.atlassian.pageobjects.elements.query.TimedQuery<String> getNumberOfPages()
public com.atlassian.pageobjects.elements.query.TimedCondition hasPagination()
public void sortByColumn(String columnName)
public BrowseProjectsPage.Project getProjectAt(int index)
index
- 1-based index of element in the tablepublic com.atlassian.pageobjects.elements.PageElement getAriaLiveText()
public com.atlassian.pageobjects.elements.PageElement getTableHeaderButton(String columnName)
protected String getParams()
Copyright © 2002-2024 Atlassian. All Rights Reserved.