public class DashboardAssertionsImpl extends Object implements DashboardAssertions
| Constructor and Description |
|---|
DashboardAssertionsImpl(net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData,
URLAssertions urlAssertions) |
| Modifier and Type | Method and Description |
|---|---|
void |
assertColumns(List<String> colHeaders,
Locator dashboardsLocator)
Assert that the columns exist
|
void |
assertDashboardPages(List<? extends SharedEntityInfo> pages,
Dashboard.Table table)
Make sure that the passed dashboard pages are listed in the passed table.
|
void |
assertDashboardPortlets(Long id,
DashboardPagePortletInfo dashboardPortletInfo)
Ensure that the given portlets exist on the passed dashboard page.
|
void |
assertDefaultDashboardPortlets(DashboardPagePortletInfo dashboardPortletInfo)
Ensure that the given portlets exist on the system default dashboard page.
|
@Inject
public DashboardAssertionsImpl(net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData,
URLAssertions urlAssertions)
public void assertDashboardPortlets(Long id, DashboardPagePortletInfo dashboardPortletInfo)
DashboardAssertionsassertDashboardPortlets in interface DashboardAssertionsid - the id of the dashboard to check.dashboardPortletInfo - the portlets that should exist on the dashboard.public void assertDefaultDashboardPortlets(DashboardPagePortletInfo dashboardPortletInfo)
DashboardAssertionsassertDefaultDashboardPortlets in interface DashboardAssertionsdashboardPortletInfo - the portlets that should exist on the dashboard.public void assertColumns(List<String> colHeaders, Locator dashboardsLocator)
DashboardAssertionsassertColumns in interface DashboardAssertionscolHeaders - The text of the Column HeaderdashboardsLocator - Locator of the dashboard tablepublic void assertDashboardPages(List<? extends SharedEntityInfo> pages, Dashboard.Table table)
DashboardAssertionsassertDashboardPages in interface DashboardAssertionspages - the pages to test.table - the table that contains the portal pages.Copyright © 2002-2022 Atlassian. All Rights Reserved.