public interface

DashboardAssertions

com.atlassian.jira.functest.framework.assertions.DashboardAssertions
Known Indirect Subclasses

Class Overview

This makes assertions about Dashboard pages and their content

Summary

Public Methods
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.

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

public void assertDashboardPages (List<? extends SharedEntityInfo> pages, Dashboard.Table 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.