com.atlassian.jira.functest.framework.assertions
Interface DashboardAssertions

All Known Implementing Classes:
DashboardAssertionsImpl

public interface DashboardAssertions

This makes assertions about Dashboard pages and their content

Since:
v3.13

Method Summary
 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.
 

Method Detail

assertDashboardPages

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.

assertDashboardPortlets

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.

assertDefaultDashboardPortlets

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.

assertColumns

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


Copyright © 2002-2012 Atlassian. All Rights Reserved.