com.atlassian.jira.pageobjects.components.userpicker
Class MentionsUserPicker

java.lang.Object
  extended by com.atlassian.jira.pageobjects.components.userpicker.MentionsUserPicker

public class MentionsUserPicker
extends Object

Represents mentions picker (incl. dropdown).

Since:
v5.2

Nested Class Summary
static class MentionsUserPicker.UserSuggestion
           
 
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)
           
 
Method Summary
 MentionsUserPicker down()
           
 MentionsUserPicker.UserSuggestion getSuggestion(String username)
           
 com.atlassian.pageobjects.elements.query.TimedCondition hasActiveSuggestion(String username)
           
 com.atlassian.pageobjects.elements.query.TimedCondition hasSuggestion(String username)
           
 boolean hasSuggestions()
           
 com.atlassian.pageobjects.elements.query.TimedCondition isOpen()
           
protected  ExtendedElementFinder.SearchQuery<MentionsUserPicker.UserSuggestion> searchSuggestions()
           
 MentionsUserPicker selectActiveSuggestion()
          Select active suggestion by pressing enter.
 com.atlassian.pageobjects.elements.query.TimedQuery<Iterable<MentionsUserPicker.UserSuggestion>> suggestions()
           
protected  MentionsUserPicker typeSpecialKey(org.openqa.selenium.Keys key)
           
 MentionsUserPicker up()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mentionsDropdown

protected com.atlassian.pageobjects.elements.PageElement mentionsDropdown

queryTarget

protected final com.atlassian.pageobjects.elements.PageElement queryTarget
Constructor Detail

MentionsUserPicker

public MentionsUserPicker(com.atlassian.pageobjects.elements.PageElement queryTarget)
Method Detail

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-2014 Atlassian. All Rights Reserved.