|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.pageobjects.page.ConfluenceAbstractPage com.atlassian.confluence.pageobjects.page.SpaceDirectoryPage
public class SpaceDirectoryPage
Nested Class Summary | |
---|---|
static class |
SpaceDirectoryPage.SystemTab
|
static class |
SpaceDirectoryPage.TeamLabelTab
|
Field Summary |
---|
Fields inherited from class com.atlassian.confluence.pageobjects.page.ConfluenceAbstractPage |
---|
driver, jsQueryFactory, pageBinder, pageElementFinder, timeouts, waiter |
Constructor Summary | |
---|---|
SpaceDirectoryPage()
|
Method Summary | |
---|---|
void |
bindTracer()
|
SpaceDirectoryPage |
clearSearchBox()
Clear the search field. |
SpaceDirectoryPage |
clickAddFavouriteLink(Space space)
|
SpaceDirectoryPage |
clickNextPage()
Switch to the next page and wait until the space list updates. |
SpaceDirectoryPage |
clickPage(java.lang.String pageName)
Switch to the named page and wait until the space list updates. |
SpaceDirectoryPage |
clickPreviousPage()
Switch to the previous page and wait until the space list updates. |
ViewSpaceSummaryPage |
clickSpaceSummaryLink(Space space)
|
SpaceDirectoryPage |
clickSystemTab(SpaceDirectoryPage.SystemTab tab)
Select the given tab, and wait for the corresponding space list to be shown. |
SpaceDirectoryPage |
clickTeamLabelLozenge(Space space,
java.lang.String labelName)
|
SpaceDirectoryPage |
clickTeamLabelTab(SpaceDirectoryPage.TeamLabelTab tab)
Select the given tab, and wait for the corresponding space list to be shown. |
void |
doWait()
|
java.lang.String |
getCurrentPage()
|
int |
getCurrentPageResultCount()
|
int |
getPageCount()
|
java.util.List<java.lang.String> |
getSpaceKeys()
|
java.lang.String |
getSpaceLogoImageSource(Space space)
|
java.lang.String |
getSpaceName(Space space)
|
java.util.List<java.lang.String> |
getSpaceNames()
|
java.lang.String |
getUrl()
|
boolean |
isNoMatchingResultsMessageVisible()
|
boolean |
isNoSpacesMessageVisible()
|
boolean |
isSpaceFavouritesVisible(Space space)
|
boolean |
isSpacePresent(Space space)
|
boolean |
isSystemTabPresent(SpaceDirectoryPage.SystemTab tab)
|
boolean |
isTeamLabelLozengePresent(Space space,
java.lang.String labelName)
|
SpaceDirectoryPage |
search(java.lang.String query)
Type in the search field and wait until search results are returned. |
SearchResultPage |
submitSearch()
Perform a site search using the value in the search field, limited to space entities. |
ViewPage |
submitSearchForOneResult(AbstractPageEntity pageEntity)
Jump to the home page of the space matching the value in the search field. |
Methods inherited from class com.atlassian.confluence.pageobjects.page.ConfluenceAbstractPage |
---|
back, 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 |
---|
public SpaceDirectoryPage()
Method Detail |
---|
public void doWait()
doWait
in class ConfluenceAbstractPage
public void bindTracer()
public java.lang.String getUrl()
public SpaceDirectoryPage search(java.lang.String query)
query
- the search querypublic SpaceDirectoryPage clearSearchBox()
public boolean isNoSpacesMessageVisible()
public boolean isNoMatchingResultsMessageVisible()
public int getCurrentPageResultCount()
public int getPageCount()
public SpaceDirectoryPage clickPreviousPage()
public SpaceDirectoryPage clickNextPage()
public SpaceDirectoryPage clickPage(java.lang.String pageName)
public java.lang.String getCurrentPage()
public SearchResultPage submitSearch()
public ViewPage submitSearchForOneResult(AbstractPageEntity pageEntity)
public ViewSpaceSummaryPage clickSpaceSummaryLink(Space space)
public SpaceDirectoryPage clickAddFavouriteLink(Space space)
public boolean isSpaceFavouritesVisible(Space space)
public SpaceDirectoryPage clickSystemTab(SpaceDirectoryPage.SystemTab tab)
public boolean isSystemTabPresent(SpaceDirectoryPage.SystemTab tab)
public SpaceDirectoryPage clickTeamLabelTab(SpaceDirectoryPage.TeamLabelTab tab)
public boolean isTeamLabelLozengePresent(Space space, java.lang.String labelName)
public SpaceDirectoryPage clickTeamLabelLozenge(Space space, java.lang.String labelName)
public boolean isSpacePresent(Space space)
public java.lang.String getSpaceName(Space space)
public java.util.List<java.lang.String> getSpaceNames()
public java.util.List<java.lang.String> getSpaceKeys()
public java.lang.String getSpaceLogoImageSource(Space space)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |