Class ViewIssuePage

java.lang.Object
com.atlassian.jira.pageobjects.pages.AbstractJiraPage
com.atlassian.jira.pageobjects.pages.viewissue.ViewIssuePage
All Implemented Interfaces:
com.atlassian.pageobjects.Page
Direct Known Subclasses:
ExtendedViewIssuePage, ViewIssueActionPage

public class ViewIssuePage extends AbstractJiraPage
Represents view issue page.
Since:
v4.4
  • Field Details

    • body

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

    • ViewIssuePage

      public ViewIssuePage(String issueKey)
    • ViewIssuePage

      public ViewIssuePage(String issueKey, String anchor)
  • Method Details

    • initComponents

      public void initComponents()
    • await

      public void await()
    • 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()
    • getIssueLinkSection

      public IssueLinkSection getIssueLinkSection()
    • getIssueMenu

      public IssueMenu getIssueMenu()
    • getSubTasksModule

      public SubtaskModule getSubTasksModule()
    • getPeopleSection

      public PeopleSection getPeopleSection()
    • getDatesSection

      public DatesSection getDatesSection()
    • getDetailsSection

      public DetailsSection getDetailsSection()
    • hasDescription

      public Boolean hasDescription()
    • hasEditableDescription

      public Boolean hasEditableDescription()
    • getDescriptionValue

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

      public com.atlassian.pageobjects.elements.PageElement getIssueDueDate()
    • getActivitySection

      public ActivitySection getActivitySection()
    • getAttachmentSection

      public AttachmentSection getAttachmentSection()
    • 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()
    • isAddCommentModuleActiveTimed

      public com.atlassian.pageobjects.elements.query.TimedCondition isAddCommentModuleActiveTimed()
    • getPriority

      public String getPriority()
    • getStatus

      public String getStatus()
    • getResolution

      public String getResolution()
    • getSecurityLevel

      public String getSecurityLevel()
    • getComments

      public Iterable<Comment> getComments()
    • editComment

      public EditCommentDialog editComment(long id)
    • commentInDialog

      public CommentDialog commentInDialog()
    • 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)
    • archiveIssue

      public void archiveIssue(ActionTrigger trigger)
    • restoreIssue

      public void restoreIssue(ActionTrigger trigger)
    • editIssue

      public EditIssueDialog editIssue()
    • assignIssue

      public void assignIssue(String user, ActionTrigger trigger)
    • addLabels

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

      public ViewIssuePage removeLabelUsingLabelsDialog(String label, ActionTrigger trigger)
    • removeLabelByInLineEditing

      public ViewIssuePage removeLabelByInLineEditing(String label)
    • addComment

      public void addComment(String comment, ActionTrigger trigger)
    • editIssue

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

      public ViewIssuePage assignIssueToMe()
    • assignIssueViaSidebar

      public ViewIssuePage assignIssueViaSidebar(String user)
    • assignToMeViaKeyboardShortcut

      public ViewIssuePage assignToMeViaKeyboardShortcut()
    • waitForAjaxRefresh

      public ViewIssuePage waitForAjaxRefresh(Tracer tracer)
    • openWatchersDialog

      public WatchersComponent openWatchersDialog()
    • getWatchersCount

      public int getWatchersCount()
    • isWatcherLozengeActive

      public boolean isWatcherLozengeActive()
    • isWatcherToggleShowingStartWatching

      public boolean isWatcherToggleShowingStartWatching()
    • isWatcherToggleShowingStopWatching

      public boolean isWatcherToggleShowingStopWatching()
    • toggleWatcherToggle

      public ViewIssuePage toggleWatcherToggle()
    • getIssueDueDateText

      public com.atlassian.pageobjects.elements.query.TimedQuery getIssueDueDateText()
    • isEditModalDialogVisibleFor

      public boolean isEditModalDialogVisibleFor(String fieldName)
    • isInlineEditVisibleFor

      public boolean isInlineEditVisibleFor(long fieldId)
    • getAssignee

      @Deprecated public String getAssignee()
      Deprecated.
      - Use getAssigneeTimed() with a Poller and Matcher for more reliability
    • getAssigneeTimed

      public com.atlassian.pageobjects.elements.query.TimedQuery<String> getAssigneeTimed()
    • getTimedField

      public com.atlassian.pageobjects.elements.TimedElement getTimedField(String fieldId)
    • openVotersDialog

      public VotersComponent openVotersDialog()
    • voteForIssue

      public void voteForIssue()
    • unvoteForIssue

      public void unvoteForIssue()
    • expandHiddenComments

      public void expandHiddenComments()
    • getLabels

      public Iterable<String> getLabels()
    • getFixVersions

      public Iterable<String> getFixVersions()
    • getAffectsVersions

      public Iterable<String> getAffectsVersions()
    • getComponents

      public Iterable<String> getComponents()
    • getComponentLink

      public com.atlassian.pageobjects.elements.PageElement getComponentLink(String linkText)
    • getFixedVersionLink

      public com.atlassian.pageobjects.elements.PageElement getFixedVersionLink(String linkText)
    • getCalendarPicker

      public CalendarPicker getCalendarPicker()
      IMPORTANT The calendar picker icon is only visible after the due date field has been clicked. You must perform a click on the element returned by getIssueDueDate() (see above) before performing any operations on the calendar picker icon.
      Returns:
      a reference to the calendar picker icon, used to open the picker popup