Class SpacesListMacro
- java.lang.Object
-
- com.atlassian.confluence.it.dashboard.SpacesListMacro
-
public class SpacesListMacro extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SpacesListMacro.SpacesTab
-
Field Summary
Fields Modifier and Type Field Description static String
TABS_MENU_LOCATOR
-
Constructor Summary
Constructors Constructor Description SpacesListMacro(net.sourceforge.jwebunit.junit.WebTester tester)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
assertCurrentSpacesTabContains(Space space)
void
assertCurrentSpacesTabDoesNotContains(Space space)
void
assertTabNotPresent(SpacesListMacro.SpacesTab tab)
void
assertTabPresent(SpacesListMacro.SpacesTab tab)
void
clickSpacesListTab(SpacesListMacro.SpacesTab tab)
Click on a space tab.int
getNumUpdatesInSpacesTab(SpacesListMacro.SpacesTab tab)
SpacesListMacro.SpacesTab
getSelectedSpacesTab()
UrlBuilder
getUrl(Page page, SpacesListMacro.SpacesTab tab)
-
-
-
Field Detail
-
TABS_MENU_LOCATOR
public static final String TABS_MENU_LOCATOR
- See Also:
- Constant Field Values
-
-
Method Detail
-
getUrl
public UrlBuilder getUrl(Page page, SpacesListMacro.SpacesTab tab)
-
clickSpacesListTab
public void clickSpacesListTab(SpacesListMacro.SpacesTab tab)
Click on a space tab. This is different fromgotoDashboard(tab)
because it actually performs a mouse click.- Parameters:
tab
- The tab to click on
-
getNumUpdatesInSpacesTab
public int getNumUpdatesInSpacesTab(SpacesListMacro.SpacesTab tab)
-
getSelectedSpacesTab
public SpacesListMacro.SpacesTab getSelectedSpacesTab()
-
assertCurrentSpacesTabContains
public void assertCurrentSpacesTabContains(Space space)
-
assertCurrentSpacesTabDoesNotContains
public void assertCurrentSpacesTabDoesNotContains(Space space)
-
assertTabPresent
public void assertTabPresent(SpacesListMacro.SpacesTab tab)
-
assertTabNotPresent
public void assertTabNotPresent(SpacesListMacro.SpacesTab tab)
-
-