public class SingleSelect extends Object
Constructor and Description |
---|
SingleSelect(com.atlassian.pageobjects.elements.PageElement parent) |
Modifier and Type | Method and Description |
---|---|
SingleSelect |
clear() |
Iterable<String> |
getAvailableSuggestions() |
String |
getError() |
String |
getId() |
List<String> |
getSuggestions()
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 |
com.atlassian.pageobjects.elements.query.TimedQuery<Iterable<com.atlassian.pageobjects.elements.PageElement>> |
getSuggestionsElementsTimed() |
com.atlassian.pageobjects.elements.query.TimedQuery<Iterable<String>> |
getSuggestionsTimed() |
com.atlassian.pageobjects.elements.query.TimedQuery<String> |
getTimedValue() |
String |
getValue() |
boolean |
isAutocompleteDisabled() |
boolean |
isDisabled() |
com.atlassian.pageobjects.elements.query.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
|
public SingleSelect(com.atlassian.pageobjects.elements.PageElement parent)
public String getId()
public SingleSelect triggerSuggestions()
@Deprecated public List<String> getSuggestions()
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 testspublic com.atlassian.pageobjects.elements.query.TimedQuery<Iterable<String>> getSuggestionsTimed()
public com.atlassian.pageobjects.elements.query.TimedQuery<Iterable<com.atlassian.pageobjects.elements.PageElement>> getSuggestionsElementsTimed()
public com.atlassian.pageobjects.elements.query.TimedCondition isSuggestionsOpen()
public SingleSelect select(String value)
public String getValue()
public com.atlassian.pageobjects.elements.query.TimedQuery<String> getTimedValue()
public boolean isAutocompleteDisabled()
public boolean isDisabled()
public SingleSelect clear()
public SingleSelect type(CharSequence text)
text
- text to typepublic String getError()
Copyright © 2002-2022 Atlassian. All Rights Reserved.