Class AbstractReleasePage<T extends AbstractReleasePage>
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.AbstractReleasePage<T>
- All Implemented Interfaces:
com.atlassian.pageobjects.Page
- Direct Known Subclasses:
AdministerReleasePage,LegacyReleasePage,ReleasePage
public abstract class AbstractReleasePage<T extends AbstractReleasePage>
extends SidebarBrowseProjectSubPage
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic classstatic enum -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Stringprotected final Stringstatic final Stringprotected final Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic final 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
ConstructorsConstructorDescriptionAbstractReleasePage(String projectKey) AbstractReleasePage(String projectKey, String status) AbstractReleasePage(String projectKey, String status, String contains) -
Method Summary
Modifier and TypeMethodDescriptionvoiddoWait()The default doWait for JIRA is defined in terms ofAbstractJiraPage.isAt().filterByStatus(String status) filterByText(String text) com.atlassian.pageobjects.elements.query.TimedQuery<String> com.atlassian.pageobjects.elements.PageElementlonggetUrl()getVersionAt(int position) Returns version at given position in the table.getVersionByName(String name) intintgetVersionIndex(String name) com.atlassian.pageobjects.elements.query.TimedConditioncom.atlassian.pageobjects.elements.query.TimedConditioncom.atlassian.pageobjects.elements.query.TimedConditionisAt()Timed condition checking if we're at given page.com.atlassian.pageobjects.elements.query.TimedConditionisEmpty()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.TimedConditionbooleancom.atlassian.pageobjects.elements.query.TimedConditioncom.atlassian.pageobjects.elements.query.TimedConditionisVersionByNamePresent(String name) ready()longvoidMethods inherited from class com.atlassian.jira.projects.pageobjects.webdriver.page.sidebar.SidebarBrowseProjectPage
getSidebar, initMethods inherited from class com.atlassian.jira.pageobjects.pages.AbstractJiraPage
back, execKeyboardShortcut, getHeader, getPageTitle, getXsrfToken, isAdmin, isLoggedIn
-
Field Details
-
RELEASE_PAGE_KEY
- See Also:
-
STATUS_NO_FILTER
-
STATUS_UNRELEASED
-
STATUS_RELEASED
-
STATUS_ARCHIVED
-
STATUS_ALL
-
projectKey
-
status
-
contains
-
VERSION_BY_NAME_XPATH
- See Also:
-
-
Constructor Details
-
AbstractReleasePage
-
AbstractReleasePage
-
AbstractReleasePage
-
-
Method Details
-
getUrl
- Specified by:
getUrlin interfacecom.atlassian.pageobjects.Page- Overrides:
getUrlin classSidebarBrowseProjectSubPage
-
ready
-
doWait
public void doWait()Description copied from class:AbstractJiraPageThe default doWait for JIRA is defined in terms of
AbstractJiraPage.isAt().- Overrides:
doWaitin classAbstractJiraPage
-
isAt
public com.atlassian.pageobjects.elements.query.TimedCondition isAt()Description copied from class:AbstractJiraPageTimed condition checking if we're at given page.- Overrides:
isAtin classSidebarBrowseProjectPage- Returns:
- timed condition checking, if the test is at given page
-
getPageId
- Specified by:
getPageIdin classSidebarBrowseProjectSubPage
-
getVersionByName
-
getVersionIndex
- Parameters:
name- Version name- Returns:
- zero-based index
-
isVersionByNamePresent
-
getVersionAt
Returns version at given position in the table.- Parameters:
position- 1-based index of element in the table.- Returns:
- Version
-
getVersionCount
public int getVersionCount() -
isEmpty
public com.atlassian.pageobjects.elements.query.TimedCondition isEmpty() -
filterByText
-
getFilterText
-
isFilterFormPresent
public com.atlassian.pageobjects.elements.query.TimedCondition isFilterFormPresent() -
filterByStatus
-
getFilterParamsFromUrl
-
revealNextPage
-
scrollToTop
public void scrollToTop() -
scrollToBottom
public long scrollToBottom() -
getScrollY
public long getScrollY() -
isManageVersionsPresent
public com.atlassian.pageobjects.elements.query.TimedCondition isManageVersionsPresent() -
isEmptySearchImagePresent
public com.atlassian.pageobjects.elements.query.TimedCondition isEmptySearchImagePresent() -
isNoVersionsImagePresent
public com.atlassian.pageobjects.elements.query.TimedCondition isNoVersionsImagePresent() -
isArchivedButtonPresent
public com.atlassian.pageobjects.elements.query.TimedCondition isArchivedButtonPresent() -
isArchivedSelected
public com.atlassian.pageobjects.elements.query.TimedCondition isArchivedSelected() -
isReleasedSelected
public com.atlassian.pageobjects.elements.query.TimedCondition isReleasedSelected() -
isUnreleasedSelected
public com.atlassian.pageobjects.elements.query.TimedCondition isUnreleasedSelected() -
getMergeLink
public com.atlassian.pageobjects.elements.PageElement getMergeLink() -
openMergeDialog
-
getServerError
-
isSortable
public boolean isSortable() -
getVersions
-
getReleaseForm
-