public abstract class AbstractComponentsPage<T extends AbstractComponentsPage> extends SidebarBrowseProjectSubPage
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractComponentsPage.ActionsDropDown |
static class |
AbstractComponentsPage.Component |
static class |
AbstractComponentsPage.ComponentForm |
| Modifier and Type | Field and Description |
|---|---|
static String |
COMPONENTS_PAGE_KEY |
protected String |
contains |
protected String |
projectKey |
static String |
STATUS_ACTIVE |
static String |
STATUS_ALL |
static String |
STATUS_ARCHIVED |
static String |
STATUS_NO_FILTER |
URL| Constructor and Description |
|---|
AbstractComponentsPage(String projectKey) |
AbstractComponentsPage(String projectKey,
String contains) |
| Modifier and Type | Method and Description |
|---|---|
T |
filterByText(String text) |
AbstractComponentsPage.Component |
getComponentAt(int position)
Returns component at given position in the table.
|
AbstractComponentsPage.Component |
getComponentByName(String name) |
int |
getComponentCount() |
AbstractComponentsPage.ComponentForm |
getComponentForm() |
static Map<String,String> |
getFilterParamsFromUrl(String url) |
String |
getPageId() |
String |
getUrl() |
boolean |
hasComponent(String name) |
boolean |
hasComponentWithStatus(String status) |
com.atlassian.pageobjects.elements.query.TimedCondition |
hasNoComponentsContainer() |
com.atlassian.pageobjects.elements.query.TimedCondition |
hasNoResultsContainer() |
com.atlassian.pageobjects.elements.query.TimedCondition |
isArchivedButtonPresent() |
com.atlassian.pageobjects.elements.query.TimedCondition |
isArchivedSelected() |
com.atlassian.pageobjects.elements.query.TimedCondition |
isEmpty() |
com.atlassian.pageobjects.elements.query.TimedCondition |
isEmptySearchImagePresent() |
com.atlassian.pageobjects.elements.query.TimedCondition |
isNoComponentsImagePresent() |
AbstractComponentsPage |
ready() |
void |
revealNextPage() |
void |
scrollToTop() |
void |
toggleActive(boolean isChecked) |
void |
toggleArchived(boolean isChecked) |
getSidebar, init, isAtpublic static final String COMPONENTS_PAGE_KEY
protected final String projectKey
protected final String contains
public static String STATUS_NO_FILTER
public static final String STATUS_ARCHIVED
public static final String STATUS_ACTIVE
public static String STATUS_ALL
public AbstractComponentsPage(String projectKey)
public String getUrl()
getUrl in interface com.atlassian.pageobjects.PagegetUrl in class SidebarBrowseProjectSubPagepublic AbstractComponentsPage ready()
public String getPageId()
getPageId in class SidebarBrowseProjectSubPagepublic AbstractComponentsPage.Component getComponentByName(String name)
public boolean hasComponent(String name)
public boolean hasComponentWithStatus(String status)
public AbstractComponentsPage.Component getComponentAt(int position)
position - 1-based index of element in the table.public int getComponentCount()
public com.atlassian.pageobjects.elements.query.TimedCondition isEmpty()
public void toggleActive(boolean isChecked)
public void toggleArchived(boolean isChecked)
public com.atlassian.pageobjects.elements.query.TimedCondition isArchivedButtonPresent()
public com.atlassian.pageobjects.elements.query.TimedCondition isArchivedSelected()
public void revealNextPage()
public AbstractComponentsPage.ComponentForm getComponentForm()
public com.atlassian.pageobjects.elements.query.TimedCondition isEmptySearchImagePresent()
public com.atlassian.pageobjects.elements.query.TimedCondition isNoComponentsImagePresent()
public void scrollToTop()
public com.atlassian.pageobjects.elements.query.TimedCondition hasNoResultsContainer()
public com.atlassian.pageobjects.elements.query.TimedCondition hasNoComponentsContainer()
Copyright © 2019 Atlassian. All rights reserved.