Class AbstractReleasePage<T extends AbstractReleasePage>

All Implemented Interfaces:
com.atlassian.pageobjects.Page
Direct Known Subclasses:
AdministerReleasePage, LegacyReleasePage, ReleasePage

public abstract class AbstractReleasePage<T extends AbstractReleasePage> extends SidebarBrowseProjectSubPage
  • Field Details

    • RELEASE_PAGE_KEY

      public static final String RELEASE_PAGE_KEY
      See Also:
    • STATUS_NO_FILTER

      public static String STATUS_NO_FILTER
    • STATUS_UNRELEASED

      public static String STATUS_UNRELEASED
    • STATUS_RELEASED

      public static String STATUS_RELEASED
    • STATUS_ARCHIVED

      public static String STATUS_ARCHIVED
    • STATUS_ALL

      public static String STATUS_ALL
    • projectKey

      protected final String projectKey
    • status

      protected final String status
    • contains

      protected final String contains
    • VERSION_BY_NAME_XPATH

      public static final String VERSION_BY_NAME_XPATH
      See Also:
  • Constructor Details

    • AbstractReleasePage

      public AbstractReleasePage(String projectKey)
    • AbstractReleasePage

      public AbstractReleasePage(String projectKey, String status)
    • AbstractReleasePage

      public AbstractReleasePage(String projectKey, String status, String contains)
  • Method Details

    • getUrl

      public String getUrl()
      Specified by:
      getUrl in interface com.atlassian.pageobjects.Page
      Overrides:
      getUrl in class SidebarBrowseProjectSubPage
    • ready

      public AbstractReleasePage ready()
    • doWait

      public void doWait()
      Description copied from class: AbstractJiraPage

      The default doWait for JIRA is defined in terms of AbstractJiraPage.isAt().

      Overrides:
      doWait in class AbstractJiraPage
    • isAt

      public com.atlassian.pageobjects.elements.query.TimedCondition isAt()
      Description copied from class: AbstractJiraPage
      Timed condition checking if we're at given page.
      Overrides:
      isAt in class SidebarBrowseProjectPage
      Returns:
      timed condition checking, if the test is at given page
    • getPageId

      public String getPageId()
      Specified by:
      getPageId in class SidebarBrowseProjectSubPage
    • getVersionByName

      public AbstractReleasePage.Version getVersionByName(String name)
    • getVersionIndex

      public int getVersionIndex(String name)
      Parameters:
      name - Version name
      Returns:
      zero-based index
    • isVersionByNamePresent

      public com.atlassian.pageobjects.elements.query.TimedCondition isVersionByNamePresent(String name)
    • getVersionAt

      public AbstractReleasePage.Version getVersionAt(int position)
      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

      public T filterByText(String text)
    • getFilterText

      public com.atlassian.pageobjects.elements.query.TimedQuery<String> getFilterText()
    • isFilterFormPresent

      public com.atlassian.pageobjects.elements.query.TimedCondition isFilterFormPresent()
    • filterByStatus

      public T filterByStatus(String status)
    • getFilterParamsFromUrl

      public static Map<String,String> getFilterParamsFromUrl(String url)
    • revealNextPage

      public T 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

      public MergeDialog openMergeDialog()
    • getServerError

      public String getServerError()
    • isSortable

      public boolean isSortable()
    • getVersions

      public List<com.atlassian.pageobjects.elements.query.TimedQuery<String>> getVersions()
    • getReleaseForm

      public AbstractReleasePage.ReleaseForm getReleaseForm()