com.atlassian.jira.functest.framework.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 Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Dashboard.Table | Holds the identifiers of the tables that display Portal Pages. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add the passed dashboard page to JIRA.
| |||||||||||
Turns off configuration mode for the dashboard.
| |||||||||||
Change the passed dashboard page in JIRA.
| |||||||||||
Turns on configuration mode for the dashboard.
| |||||||||||
Make the passed dashboard one of the logged in user's favourites.
| |||||||||||
Find the id of the dashboard page with the given name from a table to dashboard pages.
| |||||||||||
Navigates to the dashboard.
| |||||||||||
Navigates to the a specific dashboard page.
| |||||||||||
Open the default dashboard configuration.
| |||||||||||
Navigate to the screen that shows favourite dashboards.
| |||||||||||
Open the full configure screen for the passed dashboard.
| |||||||||||
Navigate to the screen that shows my dashboards.
| |||||||||||
Navigate to the screen that shows popular dashboards.
| |||||||||||
Navigate to the screen that allows dashboard searching.
| |||||||||||
Reset the dashboard configuration to its initial state.
| |||||||||||
Reset user session state.
| |||||||||||
Remove the passed dashboard from the user's favourites.
|
Add the passed dashboard page to JIRA.
info | the basic information for the dashboard. |
---|---|
cloneId | the id of the dashboard to clone. Can be null to clone the blank dashboard. |
Turns off configuration mode for the dashboard. If it is already off, it has no effect. Expects to be on the Dashboard to work.
Change the passed dashboard page in JIRA.
info | the basic information for the dashboard. |
---|
Turns on configuration mode for the dashboard. If it is already turned on, has no effect. If the current user has the default dashboard, subsequently they will have a custom dashboard, even though it will be configured the same as the default dashboard. Needs to be on the dashboard to work.
Make the passed dashboard one of the logged in user's favourites.
id | the id of the dashboard to favourite. |
---|
Find the id of the dashboard page with the given name from a table to dashboard pages.
dashboardPageName | the name of the dashboard to find. |
---|---|
pagesLocator | the location of the table listing the dashboard. |
Navigates to the dashboard. Request to return to the location represented by this functional area.
Navigates to the a specific dashboard page. Request to return to the location represented by this functional area.
pageId | specific page |
---|
Open the default dashboard configuration.
Navigate to the screen that shows favourite dashboards.
Open the full configure screen for the passed dashboard.
dashboardPageId | the id of the dashboard to navigate to. |
---|
Navigate to the screen that shows my dashboards.
Navigate to the screen that shows popular dashboards.
Navigate to the screen that allows dashboard searching.
Reset the dashboard configuration to its initial state.
Reset user session state.
Remove the passed dashboard from the user's favourites.
id | the id of the dashboard to unfavourite. |
---|