com.atlassian.jira.pageobjects.components.userpicker
Class MentionsUserPicker
java.lang.Object
com.atlassian.jira.pageobjects.components.userpicker.MentionsUserPicker
public class MentionsUserPicker
- extends Object
Represents mentions picker (incl. dropdown).
- Since:
- v5.2
Field Summary |
protected com.atlassian.pageobjects.elements.PageElement |
mentionsDropdown
|
protected com.atlassian.pageobjects.elements.PageElement |
queryTarget
|
Constructor Summary |
MentionsUserPicker(com.atlassian.pageobjects.elements.PageElement queryTarget)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mentionsDropdown
protected com.atlassian.pageobjects.elements.PageElement mentionsDropdown
queryTarget
protected final com.atlassian.pageobjects.elements.PageElement queryTarget
MentionsUserPicker
public MentionsUserPicker(com.atlassian.pageobjects.elements.PageElement queryTarget)
isOpen
public com.atlassian.pageobjects.elements.query.TimedCondition isOpen()
suggestions
public com.atlassian.pageobjects.elements.query.TimedQuery<Iterable<MentionsUserPicker.UserSuggestion>> suggestions()
hasSuggestions
public boolean hasSuggestions()
hasSuggestion
public com.atlassian.pageobjects.elements.query.TimedCondition hasSuggestion(String username)
hasActiveSuggestion
public com.atlassian.pageobjects.elements.query.TimedCondition hasActiveSuggestion(String username)
getSuggestion
public MentionsUserPicker.UserSuggestion getSuggestion(String username)
searchSuggestions
protected ExtendedElementFinder.SearchQuery<MentionsUserPicker.UserSuggestion> searchSuggestions()
selectActiveSuggestion
public MentionsUserPicker selectActiveSuggestion()
- Select active suggestion by pressing enter.
- Returns:
- this user picker instance
up
public MentionsUserPicker up()
down
public MentionsUserPicker down()
typeSpecialKey
protected MentionsUserPicker typeSpecialKey(org.openqa.selenium.Keys key)
Copyright © 2002-2013 Atlassian. All Rights Reserved.