Class Overview
And implementation of DashboardAssertions
Public Constructors
public
DashboardAssertionsImpl
(WebTester tester, JIRAEnvironmentData environmentData, URLAssertions urlAssertions)
Public Methods
public
void
assertColumns
(List<String> colHeaders, Locator dashboardsLocator)
Assert that the columns exist
Parameters
colHeaders
| The text of the Column Header |
dashboardsLocator
| Locator of the dashboard table
|
Make sure that the passed dashboard pages are listed in the passed table.
Parameters
pages
| the pages to test. |
table
| the table that contains the portal pages.
|
public
void
assertDashboardPortlets
(Long id, DashboardPagePortletInfo dashboardPortletInfo)
Ensure that the given portlets exist on the passed dashboard page.
Parameters
id
| the id of the dashboard to check. |
dashboardPortletInfo
| the portlets that should exist on the dashboard.
|
public
void
assertDefaultDashboardPortlets
(DashboardPagePortletInfo dashboardPortletInfo)
Ensure that the given portlets exist on the system default dashboard page.
Parameters
dashboardPortletInfo
| the portlets that should exist on the dashboard.
|