Class AbstractIssueDetailComponent
java.lang.Object
com.atlassian.jira.plugin.issuenav.pageobjects.AbstractIssueDetailComponent
- Direct Known Subclasses:
IssueDetailComponent,IssueErrorComponent
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.openqa.selenium.WebDriverprotected com.atlassian.pageobjects.elements.PageElementFinderprotected IssueActionsUtilprotected com.atlassian.pageobjects.PageBinderprotected com.atlassian.pageobjects.elements.PageElementprotected TraceContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.atlassian.pageobjects.elements.PageElementprotected com.atlassian.pageobjects.elements.PageElementcom.atlassian.pageobjects.elements.PageElementbooleancom.atlassian.pageobjects.elements.query.TimedConditionbooleancom.atlassian.pageobjects.elements.query.TimedConditionbooleancom.atlassian.pageobjects.elements.query.TimedConditioncom.atlassian.pageobjects.elements.query.TimedConditionNavigate to the next issue.nextIssue(ReadyForAction readyForAction) Navigate to the next issue and return a future IssueDetailComponent.<T> TNavigate to the previous issue.previousIssue(ReadyForAction readyForAction) Navigate to the previous issue.
-
Field Details
-
driver
@Inject protected org.openqa.selenium.WebDriver driver -
elementFinder
@Inject protected com.atlassian.pageobjects.elements.PageElementFinder elementFinder -
issueActionsUtil
-
pageBinder
@Inject protected com.atlassian.pageobjects.PageBinder pageBinder -
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
-
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
Navigate to the next issue.- Returns:
- the issue page.
-
nextIssue
-
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
Navigate to the previous issue.- Returns:
- the issue page.
-
getNextPreviousIssuePager
protected com.atlassian.pageobjects.elements.PageElement getNextPreviousIssuePager()
-