|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Dashboard
An abstraction for logically grouping JIRA dashboard functionality for functional tests. When used as a return value it also implies that the current location is the dashboard.
Nested Class Summary | |
---|---|
static class |
Dashboard.Table
Holds the identifiers of the tables that display Portal Pages. |
Method Summary | |
---|---|
Dashboard |
addPage(SharedEntityInfo info,
Long cloneId)
Add the passed dashboard page to JIRA. |
Dashboard |
disableConfigureMode()
Turns off configuration mode for the dashboard. |
Dashboard |
editPage(SharedEntityInfo info)
Change the passed dashboard page in JIRA. |
Dashboard |
enableConfigureMode()
Turns on configuration mode for the dashboard. |
Dashboard |
favouriteDashboard(long id)
Make the passed dashboard one of the logged in user's favourites. |
Long |
getDashboardPageId(String dashboardPageName,
Locator pagesLocator)
Find the id of the dashboard page with the given name from a table to dashboard pages. |
Dashboard |
navigateTo()
Navigates to the dashboard. |
Dashboard |
navigateTo(long pageId)
Navigates to the a specific dashboard page. |
Dashboard |
navigateToDefaultFullConfigure()
Open the default dashboard configuration. |
Dashboard |
navigateToFavourites()
Navigate to the screen that shows favourite dashboards. |
Dashboard |
navigateToFullConfigure(Long dashboardPageId)
Open the full configure screen for the passed dashboard. |
Dashboard |
navigateToMy()
Navigate to the screen that shows my dashboards. |
Dashboard |
navigateToPopular()
Navigate to the screen that shows popular dashboards. |
Dashboard |
navigateToSearch()
Navigate to the screen that allows dashboard searching. |
Dashboard |
resetToDefault()
Reset the dashboard configuration to its initial state. |
Dashboard |
resetUserSessionState()
Reset user session state. |
Dashboard |
unFavouriteDashboard(long id)
Remove the passed dashboard from the user's favourites. |
Method Detail |
---|
Dashboard enableConfigureMode()
Dashboard disableConfigureMode()
Dashboard navigateTo()
Dashboard navigateTo(long pageId)
pageId
- specific page
Dashboard addPage(SharedEntityInfo info, Long cloneId)
info
- the basic information for the dashboard.cloneId
- the id of the dashboard to clone. Can be null to clone the blank dashboard.
Dashboard editPage(SharedEntityInfo info)
info
- the basic information for the dashboard.
Dashboard navigateToFavourites()
Dashboard navigateToMy()
Dashboard navigateToPopular()
Dashboard navigateToSearch()
Long getDashboardPageId(String dashboardPageName, Locator pagesLocator)
dashboardPageName
- the name of the dashboard to find.pagesLocator
- the location of the table listing the dashboard.
Dashboard navigateToFullConfigure(Long dashboardPageId)
dashboardPageId
- the id of the dashboard to navigate to.
Dashboard navigateToDefaultFullConfigure()
Dashboard favouriteDashboard(long id)
id
- the id of the dashboard to favourite.
Dashboard unFavouriteDashboard(long id)
id
- the id of the dashboard to unfavourite.
Dashboard resetUserSessionState()
Dashboard resetToDefault()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |