com.atlassian.confluence.selenium.client
Class SpaceDirectory
java.lang.Object
com.atlassian.confluence.selenium.client.SpaceDirectory
public class SpaceDirectory
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpaceDirectory
public SpaceDirectory(ConfluenceSeleniumClient client,
ConfluenceSeleniumAssertions assertThat)
search
public void search(String query,
int expectedNumberOfResults)
clickTab
public void clickTab(String tabName,
int expectedNumberOfResults)
waitForSpaceItems
public void waitForSpaceItems(int numItems)
clickLabelLozenge
public void clickLabelLozenge(Space space,
String labelName)
isSpaceFavouritesVisible
public boolean isSpaceFavouritesVisible()
submitSearch
public void submitSearch()
submitSearch
public void submitSearch(boolean onlyFireEvent)
- Submits the space search form
- Parameters:
onlyFireEvent
- in IE we need to fire the event as well as submit the form.
But if the event performs a redirect we don't want to submit the form at all.
getSpacesOnPage
public List<String> getSpacesOnPage()
assertSpacePresent
public void assertSpacePresent(Space space)
assertSpaceNotPresent
public void assertSpaceNotPresent(Space space)
Copyright © 2003-2011 Atlassian. All Rights Reserved.