com.atlassian.jira.pageobjects.pages.viewissue
Class ViewIssuePage

java.lang.Object
  extended by com.atlassian.jira.pageobjects.pages.AbstractJiraPage
      extended by com.atlassian.jira.pageobjects.pages.viewissue.ViewIssuePage
All Implemented Interfaces:
com.atlassian.pageobjects.Page

public class ViewIssuePage
extends AbstractJiraPage

Represents view issue page.

Since:
v4.4

Field Summary
protected  com.atlassian.pageobjects.elements.PageElement body
           
 
Fields inherited from class com.atlassian.jira.pageobjects.pages.AbstractJiraPage
driver, elementFinder, footerElement, metaElement, timeouts
 
Constructor Summary
ViewIssuePage(String issueKey)
           
ViewIssuePage(String issueKey, String anchor)
           
 
Method Summary
 void addComment(String comment, ActionTrigger trigger)
           
 void addLabels(List<String> labels, ActionTrigger trigger)
           
 void assignIssue(String user, ActionTrigger trigger)
           
 ViewIssuePage assignIssueToMe()
           
 AssignIssueDialog assignIssueViaKeyboardShortcut()
           
 ViewIssuePage closeIssue()
           
 void closeIssue(ActionTrigger trigger)
           
 AddCommentSection comment()
           
 void deleteIssue(ActionTrigger trigger)
           
 EditIssueDialog editIssue()
           
 void editIssue(Map<String,String> values, ActionTrigger trigger)
           
 EditIssueDialog editIssueViaKeyboardShortcut()
           
 void expandHiddenComments()
           
 ActivitySection getActivitySection()
           
 String getAssignee()
           
 Iterable<Comment> getComments()
           
 com.atlassian.pageobjects.elements.PageElement getDescriptionValue()
           
 DetailsSection getDetailsSection()
           
 com.atlassian.pageobjects.elements.query.TimedQuery getIssueDueDate()
           
 String getIssueKey()
           
 IssueLinkSection getIssueLinkSection()
           
 IssueMenu getIssueMenu()
           
 String getIssueType()
           
 MoreActionsMenu getMoreActionsMenu()
          Deprecated. use getIssueMenu() and then IssueMenu.invoke(com.atlassian.jira.pageobjects.model.IssueOperation)
 PeopleSection getPeopleSection()
           
 String getPriority()
           
 String getProject()
           
 String getResolution()
           
 String getStatus()
           
 SubtaskModule getSubTasksModule()
           
 String getSummary()
           
 com.atlassian.pageobjects.elements.query.TimedQuery<String> getTimedSummary()
           
 String getUrl()
           
 Boolean hasDescription()
           
 Boolean hasEditableDescription()
           
 void initComponents()
           
 boolean isAddCommentModuleActive()
           
 com.atlassian.pageobjects.elements.query.TimedCondition isAt()
          Timed condition checking if we're at given page.
 boolean isEditModalDialogVisibleFor(String fieldName)
           
 boolean isInlineEditVisibleFor(long fieldId)
           
 com.atlassian.pageobjects.elements.query.TimedCondition isIssueTypeEditable()
           
 ResolveIssueDialog openResolveIssue(ActionTrigger trigger)
           
 VotersComponent openVotersDialog()
           
 WatchersComponent openWatchersDialog()
           
 String readKeyFromPage()
           
 void resolveIssue(ActionTrigger trigger)
           
 void startProgress(ActionTrigger trigger)
           
 void startWatching(ActionTrigger trigger)
           
 void stopProgress(ActionTrigger trigger)
           
 void stopWatching(ActionTrigger trigger)
           
 void unvoteForIssue()
           
 void voteForIssue()
           
 ViewIssuePage waitForAjaxRefresh(Tracer tracer)
           
 
Methods inherited from class com.atlassian.jira.pageobjects.pages.AbstractJiraPage
back, createXsrfUrl, doWait, execKeyboardShortcut, getHeader, getPageTitle, getXsrfToken, isAdmin, isLoggedIn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

body

protected com.atlassian.pageobjects.elements.PageElement body
Constructor Detail

ViewIssuePage

public ViewIssuePage(String issueKey)

ViewIssuePage

public ViewIssuePage(String issueKey,
                     String anchor)
Method Detail

initComponents

public void initComponents()

isAt

public com.atlassian.pageobjects.elements.query.TimedCondition isAt()
Description copied from class: AbstractJiraPage
Timed condition checking if we're at given page.

Specified by:
isAt in class AbstractJiraPage
Returns:
timed condition checking, if the test is at given page

getUrl

public String getUrl()

getProject

public String getProject()

readKeyFromPage

public String readKeyFromPage()

getMoreActionsMenu

public MoreActionsMenu getMoreActionsMenu()
Deprecated. use getIssueMenu() and then IssueMenu.invoke(com.atlassian.jira.pageobjects.model.IssueOperation)


getIssueLinkSection

public IssueLinkSection getIssueLinkSection()

getIssueMenu

public IssueMenu getIssueMenu()

getSubTasksModule

public SubtaskModule getSubTasksModule()

getPeopleSection

public PeopleSection getPeopleSection()

getDetailsSection

public DetailsSection getDetailsSection()

hasDescription

public Boolean hasDescription()

hasEditableDescription

public Boolean hasEditableDescription()

getDescriptionValue

public com.atlassian.pageobjects.elements.PageElement getDescriptionValue()

getActivitySection

public ActivitySection getActivitySection()

assignIssueViaKeyboardShortcut

public AssignIssueDialog assignIssueViaKeyboardShortcut()

editIssueViaKeyboardShortcut

public EditIssueDialog editIssueViaKeyboardShortcut()

getSummary

public String getSummary()

getTimedSummary

public com.atlassian.pageobjects.elements.query.TimedQuery<String> getTimedSummary()

getIssueKey

public String getIssueKey()

getIssueType

public String getIssueType()

isIssueTypeEditable

public com.atlassian.pageobjects.elements.query.TimedCondition isIssueTypeEditable()

isAddCommentModuleActive

public boolean isAddCommentModuleActive()

getPriority

public String getPriority()

getStatus

public String getStatus()

getResolution

public String getResolution()

getComments

public Iterable<Comment> getComments()

comment

public AddCommentSection comment()

closeIssue

public ViewIssuePage closeIssue()

closeIssue

public void closeIssue(ActionTrigger trigger)

resolveIssue

public void resolveIssue(ActionTrigger trigger)

openResolveIssue

public ResolveIssueDialog openResolveIssue(ActionTrigger trigger)

startProgress

public void startProgress(ActionTrigger trigger)

stopProgress

public void stopProgress(ActionTrigger trigger)

stopWatching

public void stopWatching(ActionTrigger trigger)

startWatching

public void startWatching(ActionTrigger trigger)

deleteIssue

public void deleteIssue(ActionTrigger trigger)

editIssue

public EditIssueDialog editIssue()

assignIssue

public void assignIssue(String user,
                        ActionTrigger trigger)

addLabels

public void addLabels(List<String> labels,
                      ActionTrigger trigger)

addComment

public void addComment(String comment,
                       ActionTrigger trigger)

editIssue

public void editIssue(Map<String,String> values,
                      ActionTrigger trigger)

assignIssueToMe

public ViewIssuePage assignIssueToMe()

waitForAjaxRefresh

public ViewIssuePage waitForAjaxRefresh(Tracer tracer)

openWatchersDialog

public WatchersComponent openWatchersDialog()

getIssueDueDate

public com.atlassian.pageobjects.elements.query.TimedQuery getIssueDueDate()

isEditModalDialogVisibleFor

public boolean isEditModalDialogVisibleFor(String fieldName)

isInlineEditVisibleFor

public boolean isInlineEditVisibleFor(long fieldId)

getAssignee

public String getAssignee()

openVotersDialog

public VotersComponent openVotersDialog()

voteForIssue

public void voteForIssue()

unvoteForIssue

public void unvoteForIssue()

expandHiddenComments

public void expandHiddenComments()


Copyright © 2002-2014 Atlassian. All Rights Reserved.