Class DashboardAssertionsImpl
java.lang.Object
com.atlassian.jira.functest.framework.assertions.DashboardAssertionsImpl
- All Implemented Interfaces:
DashboardAssertions
And implementation of DashboardAssertions
- Since:
- v3.13
-
Constructor Summary
ConstructorsConstructorDescriptionDashboardAssertionsImpl
(net.sourceforge.jwebunit.WebTester tester, JIRAEnvironmentData environmentData, URLAssertions urlAssertions) -
Method Summary
Modifier and TypeMethodDescriptionvoid
assertColumns
(List<String> colHeaders, Locator dashboardsLocator) Assert that the columns existvoid
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.
-
Constructor Details
-
DashboardAssertionsImpl
@Inject public DashboardAssertionsImpl(net.sourceforge.jwebunit.WebTester tester, JIRAEnvironmentData environmentData, URLAssertions urlAssertions)
-
-
Method Details
-
assertDashboardPortlets
Description copied from interface:DashboardAssertions
Ensure that the given portlets exist on the passed dashboard page.- Specified by:
assertDashboardPortlets
in interfaceDashboardAssertions
- Parameters:
id
- the id of the dashboard to check.dashboardPortletInfo
- the portlets that should exist on the dashboard.
-
assertDefaultDashboardPortlets
Description copied from interface:DashboardAssertions
Ensure that the given portlets exist on the system default dashboard page.- Specified by:
assertDefaultDashboardPortlets
in interfaceDashboardAssertions
- Parameters:
dashboardPortletInfo
- the portlets that should exist on the dashboard.
-
assertColumns
Description copied from interface:DashboardAssertions
Assert that the columns exist- Specified by:
assertColumns
in interfaceDashboardAssertions
- Parameters:
colHeaders
- The text of the Column HeaderdashboardsLocator
- Locator of the dashboard table
-
assertDashboardPages
Description copied from interface:DashboardAssertions
Make sure that the passed dashboard pages are listed in the passed table.- Specified by:
assertDashboardPages
in interfaceDashboardAssertions
- Parameters:
pages
- the pages to test.table
- the table that contains the portal pages.
-