com.atlassian.jira.webtest.framework.dialog
Interface IssuePickerPopup

All Superinterfaces:
Dialog<IssuePickerPopup>, Localizable, Openable<IssuePickerPopup>, PageObject
All Known Implementing Classes:
SeleniumIssuePickerPopup

public interface IssuePickerPopup
extends Dialog<IssuePickerPopup>

Old style issue picker popup, used e.g in the convert to sub-task flow.

Since:
v4.3

Nested Class Summary
static interface IssuePickerPopup.CloseMode
           
static class IssuePickerPopup.ResultSection
          Result sections IssuePickerPopup.ResultSection.RECENT_ISSUES and IssuePickerPopup.ResultSection.CURRENT_ISSUES is displayed for the search mode IssuePickerPopup.SearchMode.RECENT_ISSUES, and IssuePickerPopup.ResultSection.FILTER for search mode IssuePickerPopup.SearchMode.FILTER.
static class IssuePickerPopup.SearchMode
          Mode of the current issue search.
 
Method Summary
 IssuePickerPopup.CloseMode close()
          Close this issue picker popup
 Select filterSelect()
           Filter select of this popup.
 TimedCondition hasAnyIssues(IssuePickerPopup.ResultSection section)
          Checks whether this picker has any issues in a particular result section.
 TimedCondition hasIssue(IssueData issueData)
          Checks whether this picker has a particular issue, described by issueData, in its search results (in any section).
 TimedCondition hasIssue(IssuePickerPopup.ResultSection section, IssueData issueData)
          Checks whether this picker has a particular issue, described by issueData, in a particular result section.
 TimedCondition isInMode(IssuePickerPopup.SearchMode mode)
          Checks, whether this picker is currently in given search mode.
 TimedQuery<IssuePickerPopup.SearchMode> searchMode()
          Current search mode of this picker.
 IssuePickerPopup switchToFilter(Option filterOption)
          Switch to filter represented by given filterOption.
 IssuePickerPopup switchToRecentIssues()
          Switch to recent issues mode.
 
Methods inherited from interface com.atlassian.jira.webtest.framework.core.Openable
isClosed, isOpen, isOpenable, open
 
Methods inherited from interface com.atlassian.jira.webtest.framework.core.Localizable
locator
 
Methods inherited from interface com.atlassian.jira.webtest.framework.core.PageObject
context, isReady
 

Method Detail

filterSelect

Select filterSelect()

Filter select of this popup.

NOTE: Changing selection of this select will cause reload of this popup into the filter search mode.

Returns:
HTML select containing filters to search issues in
See Also:
IssuePickerPopup.SearchMode.FILTER

isInMode

TimedCondition isInMode(IssuePickerPopup.SearchMode mode)
Checks, whether this picker is currently in given search mode.

Parameters:
mode - mode to verify
Returns:
timed condition verifyng, if the picker is in given mode
See Also:
IssuePickerPopup.SearchMode

searchMode

TimedQuery<IssuePickerPopup.SearchMode> searchMode()
Current search mode of this picker. If this is not accessible before the query timeout, return null.

Returns:
timed query for the search mode of this picker
See Also:
IssuePickerPopup.SearchMode

hasAnyIssues

TimedCondition hasAnyIssues(IssuePickerPopup.ResultSection section)
Checks whether this picker has any issues in a particular result section.

Parameters:
section - section to check
Returns:
condition verifying if there are any issue in the given results section, which also assumes that the picker is open in appropriate search mode (i.e. search mode containing given section)
See Also:
IssuePickerPopup.ResultSection.mode()

hasIssue

TimedCondition hasIssue(IssuePickerPopup.ResultSection section,
                        IssueData issueData)
Checks whether this picker has a particular issue, described by issueData, in a particular result section.

Parameters:
section - section to check
issueData - issue to find
Returns:
condition verifying if the issue is present in the given results section, which also assumes that the picker is open in appropriate search mode (i.e. search mode containing given section)
See Also:
IssuePickerPopup.ResultSection.mode()

hasIssue

TimedCondition hasIssue(IssueData issueData)
Checks whether this picker has a particular issue, described by issueData, in its search results (in any section).

Parameters:
issueData - issue to find
Returns:
condition verifying if the issue is present in any results section of this picker, which also assummes that the picker is open

switchToRecentIssues

IssuePickerPopup switchToRecentIssues()
Switch to recent issues mode. Do nothing, if the picker already is in that mode.

Returns:
this picker instance

switchToFilter

IssuePickerPopup switchToFilter(Option filterOption)
Switch to filter represented by given filterOption. Filter options may be retrieved from this picker's filter select, or created manually by clients.

Parameters:
filterOption - an option representing the filter
Returns:
this picker instance
See Also:
filterSelect(), Select.all(), Options

close

IssuePickerPopup.CloseMode close()
Close this issue picker popup

Returns:
close mode


Copyright © 2002-2013 Atlassian. All Rights Reserved.