public class

SingleSelect

extends Object
java.lang.Object
   ↳ com.atlassian.jira.pageobjects.components.fields.SingleSelect

Summary

Public Constructors
SingleSelect(PageElement parent)
Public Methods
SingleSelect clear()
String getError()
String getId()
@Deprecated List<String> getSuggestions()
This method is deprecated. use getSuggestionsTimed() as this method is prone to return wrong results due to race conditions. Using getSuggestionsTimed() will enforce clients to execute timed assertions and improve reliability of the tests
TimedQuery<Iterable<String>> getSuggestionsTimed()
TimedQuery<String> getTimedValue()
String getValue()
boolean isAutocompleteDisabled()
TimedCondition isSuggestionsOpen()
SingleSelect select(String value)
SingleSelect triggerSuggestions()
This will click the 'dropdown' icon in the picker, opening or closing the suggestions depending on the current state.
SingleSelect type(CharSequence text)
Type into this single select without any additional validation
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public SingleSelect (PageElement parent)

Public Methods

public SingleSelect clear ()

public String getError ()

public String getId ()

@Deprecated public List<String> getSuggestions ()

This method is deprecated.
use getSuggestionsTimed() as this method is prone to return wrong results due to race conditions. Using getSuggestionsTimed() will enforce clients to execute timed assertions and improve reliability of the tests

Returns
  • list of suggestions at any given moment

public TimedQuery<Iterable<String>> getSuggestionsTimed ()

public TimedQuery<String> getTimedValue ()

public String getValue ()

public boolean isAutocompleteDisabled ()

public TimedCondition isSuggestionsOpen ()

public SingleSelect select (String value)

public SingleSelect triggerSuggestions ()

This will click the 'dropdown' icon in the picker, opening or closing the suggestions depending on the current state.

Returns
  • this single select instance

public SingleSelect type (CharSequence text)

Type into this single select without any additional validation

Parameters
text text to type
Returns
  • this single select instance