Class AbstractComponentsPage<T extends AbstractComponentsPage>
java.lang.Object
com.atlassian.jira.pageobjects.pages.AbstractJiraPage
com.atlassian.jira.projects.pageobjects.webdriver.page.sidebar.SidebarBrowseProjectPage
com.atlassian.jira.projects.pageobjects.webdriver.page.sidebar.SidebarBrowseProjectSubPage
com.atlassian.jira.projects.pageobjects.webdriver.page.AbstractComponentsPage<T>
- All Implemented Interfaces:
com.atlassian.pageobjects.Page
- Direct Known Subclasses:
AdministerComponentsPage,ComponentsPage,LegacyComponentsPage
public abstract class AbstractComponentsPage<T extends AbstractComponentsPage>
extends SidebarBrowseProjectSubPage
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringprotected final Stringprotected final Stringstatic final Stringstatic Stringstatic final Stringstatic StringFields inherited from class com.atlassian.jira.projects.pageobjects.webdriver.page.sidebar.SidebarBrowseProjectPage
URLFields inherited from class com.atlassian.jira.pageobjects.pages.AbstractJiraPage
body, driver, elementFinder, javascriptExecutor, metaElement, timeouts, webDriverPoller -
Constructor Summary
ConstructorsConstructorDescriptionAbstractComponentsPage(String projectKey) AbstractComponentsPage(String projectKey, String contains) -
Method Summary
Modifier and TypeMethodDescriptionfilterByText(String text) getComponentAt(int position) Returns component at given position in the table.getComponentByName(String name) intgetUrl()booleanhasComponent(String name) booleanhasComponentWithStatus(String status) com.atlassian.pageobjects.elements.query.TimedConditioncom.atlassian.pageobjects.elements.query.TimedConditioncom.atlassian.pageobjects.elements.query.TimedConditioncom.atlassian.pageobjects.elements.query.TimedConditioncom.atlassian.pageobjects.elements.query.TimedConditionisEmpty()com.atlassian.pageobjects.elements.query.TimedConditioncom.atlassian.pageobjects.elements.query.TimedConditionready()voidvoidvoidtoggleActive(boolean isChecked) voidtoggleArchived(boolean isChecked) Methods inherited from class com.atlassian.jira.projects.pageobjects.webdriver.page.sidebar.SidebarBrowseProjectPage
getSidebar, init, isAtMethods inherited from class com.atlassian.jira.pageobjects.pages.AbstractJiraPage
back, doWait, execKeyboardShortcut, getHeader, getPageTitle, getXsrfToken, isAdmin, isLoggedIn
-
Field Details
-
COMPONENTS_PAGE_KEY
- See Also:
-
projectKey
-
contains
-
STATUS_NO_FILTER
-
STATUS_ARCHIVED
- See Also:
-
STATUS_ACTIVE
- See Also:
-
STATUS_ALL
-
-
Constructor Details
-
AbstractComponentsPage
-
AbstractComponentsPage
-
-
Method Details
-
getUrl
- Specified by:
getUrlin interfacecom.atlassian.pageobjects.Page- Overrides:
getUrlin classSidebarBrowseProjectSubPage
-
ready
-
getPageId
- Specified by:
getPageIdin classSidebarBrowseProjectSubPage
-
getComponentByName
-
hasComponent
-
hasComponentWithStatus
-
getComponentAt
Returns component at given position in the table.- Parameters:
position- 1-based index of element in the table.- Returns:
- Component
-
getComponentCount
public int getComponentCount() -
isEmpty
public com.atlassian.pageobjects.elements.query.TimedCondition isEmpty() -
filterByText
-
toggleActive
public void toggleActive(boolean isChecked) -
toggleArchived
public void toggleArchived(boolean isChecked) -
isArchivedButtonPresent
public com.atlassian.pageobjects.elements.query.TimedCondition isArchivedButtonPresent() -
isArchivedSelected
public com.atlassian.pageobjects.elements.query.TimedCondition isArchivedSelected() -
revealNextPage
public void revealNextPage() -
getFilterParamsFromUrl
-
getComponentForm
-
isEmptySearchImagePresent
public com.atlassian.pageobjects.elements.query.TimedCondition isEmptySearchImagePresent() -
isNoComponentsImagePresent
public com.atlassian.pageobjects.elements.query.TimedCondition isNoComponentsImagePresent() -
scrollToTop
public void scrollToTop() -
hasNoResultsContainer
public com.atlassian.pageobjects.elements.query.TimedCondition hasNoResultsContainer() -
hasNoComponentsContainer
public com.atlassian.pageobjects.elements.query.TimedCondition hasNoComponentsContainer()
-