Class AbstractIssueDetailComponent

java.lang.Object
com.atlassian.jira.plugin.issuenav.pageobjects.AbstractIssueDetailComponent
Direct Known Subclasses:
IssueDetailComponent, IssueErrorComponent

public abstract class AbstractIssueDetailComponent extends Object
  • Field Details

    • driver

      @Inject protected org.openqa.selenium.WebDriver driver
    • elementFinder

      @Inject protected com.atlassian.pageobjects.elements.PageElementFinder elementFinder
    • issueActionsUtil

      @Inject protected IssueActionsUtil issueActionsUtil
    • pageBinder

      @Inject protected com.atlassian.pageobjects.PageBinder pageBinder
    • traceContext

      @Inject protected TraceContext traceContext
    • returnToSearchIssuePager

      protected com.atlassian.pageobjects.elements.PageElement returnToSearchIssuePager
  • Constructor Details

    • AbstractIssueDetailComponent

      public AbstractIssueDetailComponent()
  • Method Details

    • hasNextPreviousPager

      public boolean hasNextPreviousPager()
      Returns:
      whether the next/previous issue pager is visible. TODO We should eventually phase out these non-timed version of the functions
    • hasNextPreviousPagerTimed

      public com.atlassian.pageobjects.elements.query.TimedCondition hasNextPreviousPagerTimed()
    • hasReturnToSearchPagerTimed

      public com.atlassian.pageobjects.elements.query.TimedCondition hasReturnToSearchPagerTimed()
    • getNextIssueLink

      public com.atlassian.pageobjects.elements.PageElement getNextIssueLink()
    • getNextIssueKey

      public String getNextIssueKey()
    • hasNextIssue

      public boolean hasNextIssue()
      Returns:
      whether the "Next Issue" link is present. TODO We should eventually phase out these non-timed version of the functions
    • hasNextIssueTimed

      public com.atlassian.pageobjects.elements.query.TimedCondition hasNextIssueTimed()
    • nextIssue

      public IssueDetailComponent nextIssue()
      Navigate to the next issue.
      Returns:
      the issue page.
    • nextIssue

      public <T> T nextIssue(Class<T> nextPage)
    • nextIssue

      public FutureIssueDetailComponent nextIssue(ReadyForAction readyForAction)
      Navigate to the next issue and return a future IssueDetailComponent. Depending on the readyForAction parameter, the
      Parameters:
      readyForAction -
      Returns:
      the issue page.
    • getPreviousIssueLink

      public com.atlassian.pageobjects.elements.PageElement getPreviousIssueLink()
    • hasPreviousIssue

      public boolean hasPreviousIssue()
      Returns:
      whether the "Previous Issue" link is present. TODO We should eventually phase out these non-timed version of the functions
    • hasPreviousIssueTimed

      public com.atlassian.pageobjects.elements.query.TimedCondition hasPreviousIssueTimed()
    • previousIssue

      public IssueDetailComponent previousIssue()
      Navigate to the previous issue.
      Returns:
      the issue page.
    • previousIssue

      public FutureIssueDetailComponent previousIssue(ReadyForAction readyForAction)
      Navigate to the previous issue.
      Parameters:
      readyForAction -
      Returns:
      the issue page.
    • getNextPreviousIssuePager

      protected com.atlassian.pageobjects.elements.PageElement getNextPreviousIssuePager()