com.atlassian.confluence.pageobjects.page
Class PeopleDirectoryPage

java.lang.Object
  extended by com.atlassian.confluence.pageobjects.page.ConfluenceAbstractPage
      extended by com.atlassian.confluence.pageobjects.page.PeopleDirectoryPage
All Implemented Interfaces:
com.atlassian.pageobjects.Page

public class PeopleDirectoryPage
extends ConfluenceAbstractPage

Represents the People Directory Page

Since:
4.1

Field Summary
 
Fields inherited from class com.atlassian.confluence.pageobjects.page.ConfluenceAbstractPage
driver, jsQueryFactory, pageBinder, pageElementFinder, timeouts, waiter, waitTimeout
 
Constructor Summary
PeopleDirectoryPage()
           
 
Method Summary
 Set<String> getAllUsernames()
           
 String getUrl()
           
 UserProfileMacro getUserMacro(String username)
           
 boolean hasUser(String username)
           
 boolean isShowingAllPeople()
           
 boolean isShowingPeopleWithPersonalSpaces()
           
 UserHoverPopup openUserHoverPopup(String username)
          Mouse-hover over the user icon and wait for the AUI dialog to appear
 Map<String,UserProfileMacro> parseUsers()
           
 PeopleDirectoryPage search(String term)
           
 PeopleDirectoryPage showAllPeople()
           
 PeopleDirectoryPage showAllPeopleWithPersonalSpaces()
           
 
Methods inherited from class com.atlassian.confluence.pageobjects.page.ConfluenceAbstractPage
back, doWait, getAlert, getComponent, getHeader, getInlineDialog, getMainHeader, getMetadata, getMetadataLong, getPageHeadingColor, isDarkFeatureEnabled, isLoggedIn, openAddMenu, openBrowseMenu, openHelpMenu, openToolsMenu, openUserMenu, sendKeyboardShortcut, sendKeyboardShortcutAndWaitForCondition, setSetupComplete
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PeopleDirectoryPage

public PeopleDirectoryPage()
Method Detail

getUrl

public String getUrl()

parseUsers

public Map<String,UserProfileMacro> parseUsers()
Returns:
a map of UserProfileMacros for all users that can be parsed from the current page, indexed by their username.

getAllUsernames

public Set<String> getAllUsernames()
Returns:
a set which contains all the usernames on the page.

showAllPeople

public PeopleDirectoryPage showAllPeople()

showAllPeopleWithPersonalSpaces

public PeopleDirectoryPage showAllPeopleWithPersonalSpaces()

hasUser

public boolean hasUser(String username)

getUserMacro

public UserProfileMacro getUserMacro(String username)

isShowingAllPeople

public boolean isShowingAllPeople()

isShowingPeopleWithPersonalSpaces

public boolean isShowingPeopleWithPersonalSpaces()

search

public PeopleDirectoryPage search(String term)

openUserHoverPopup

public UserHoverPopup openUserHoverPopup(String username)
Mouse-hover over the user icon and wait for the AUI dialog to appear



Copyright © 2003–2015 Atlassian. All rights reserved.