java.lang.Object | |
↳ | com.atlassian.jira.pageobjects.components.fields.MultiSelect |
Known Direct Subclasses |
Minimal implementation of a FrotherControl. Constructor takes in the id the frother control is bound to.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
MultiSelect.Lozenge |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
dropTrigger | |||||||||||
elementFinder | |||||||||||
errorDiv | |||||||||||
extendedFinder | |||||||||||
id | |||||||||||
itemLocator | |||||||||||
pageBinder | |||||||||||
selectDiv | |||||||||||
suggestionsContainer | |||||||||||
textArea | |||||||||||
timeouts |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs the minimal implementation based on a given select[multiple] id.
| |||||||||||
Constructs the minimal implementation based on a given select[multiple] id.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds an item by typing it in and picking the first suggestion.
| |||||||||||
Adds an item by typing it in and picking the first suggestion.
| |||||||||||
Clears the current issue query and types the new query.
| |||||||||||
Removes a given item by clicking on the (x) next to the lozenge.
| |||||||||||
Open suggestions drop-down using the clickable trigger in the query input element.
| |||||||||||
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Constructs the minimal implementation based on a given select[multiple] id.
id | the id of the select[multiple] element |
---|
Constructs the minimal implementation based on a given select[multiple] id.
id | the id of the select[multiple] element |
---|---|
itemLocator | a function that given a string will create a locator to locate the item for this multiselect given the name or all items if no name is provided |
Adds an item by typing it in and picking the first suggestion. Assumes that the item passed in will be used as the lozenge label
item | the item to add |
---|
Adds an item by typing it in and picking the first suggestion. Assumes that the item passed in will be used as the lozenge label
item | the item to add |
---|
Clears the current issue query and types the new query.
query | the query to look up issues |
---|
Removes a given item by clicking on the (x) next to the lozenge.
item | the item to remove |
---|
Open suggestions drop-down using the clickable trigger in the query input element.
Note: if the suggestions are currently open, this action will close them. Therefore this method does not
wait for the outcome of the trigger. Use isSuggestionsPresent()
to wait for the expected
result.