|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.test.ui.po.BaseElement
org.xwiki.test.ui.po.editor.UserPicker
public class UserPicker
Represents the actions possible on the user picker.
| Nested Class Summary | |
|---|---|
static class |
UserPicker.UserElement
|
| Constructor Summary | |
|---|---|
UserPicker(org.openqa.selenium.WebElement textInput)
Exposes the user picker bound to the given text input; |
|
| Method Summary | |
|---|---|
UserPicker |
clear()
Clears the content of the text input. |
List<UserPicker.UserElement> |
getAcceptedSuggestions()
|
org.openqa.selenium.WebElement |
getClearSelectionLink()
|
List<UserPicker.UserElement> |
getSuggestions()
|
String |
getValue()
|
UserPicker |
moveMouseOver()
Moves the mouse over the text input. |
UserPicker |
select(String userNameOrAlias)
Clicks on the suggestion that contains the given text. |
UserPicker |
sendKeys(CharSequence... keysToSend)
Types into the text input. |
UserPicker |
waitForSuggestions()
Waits until the suggestions for the current value of the text input are retrieved. |
UserPicker |
waitForSuggestionsToDisappear()
Waits for the list of suggestions to disappear. |
UserPicker |
waitForSuggestionsToFadeOut()
Waits for the list of suggestions to fade out. |
UserPicker |
waitToLoad()
Waits for the user picker to load. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserPicker(org.openqa.selenium.WebElement textInput)
textInput - the text input that is enhanced with a user picker| Method Detail |
|---|
public UserPicker sendKeys(CharSequence... keysToSend)
keysToSend - the keys to type into the text input
public UserPicker clear()
public String getValue()
public org.openqa.selenium.WebElement getClearSelectionLink()
public UserPicker waitForSuggestions()
public UserPicker waitForSuggestionsToFadeOut()
public UserPicker waitForSuggestionsToDisappear()
public UserPicker select(String userNameOrAlias)
userNameOrAlias - user name or alias
public List<UserPicker.UserElement> getSuggestions()
public List<UserPicker.UserElement> getAcceptedSuggestions()
public UserPicker moveMouseOver()
public UserPicker waitToLoad()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||