public class

DashboardAssertionsImpl

extends AbstractNavigationUtil
implements DashboardAssertions
java.lang.Object
   ↳ com.atlassian.jira.functest.framework.AbstractFuncTestUtil
     ↳ com.atlassian.jira.functest.framework.AbstractNavigationUtil
       ↳ com.atlassian.jira.functest.framework.assertions.DashboardAssertionsImpl

Class Overview

And implementation of DashboardAssertions

Summary

[Expand]
Inherited Fields
From class com.atlassian.jira.functest.framework.AbstractFuncTestUtil
Public Constructors
DashboardAssertionsImpl(WebTester tester, JIRAEnvironmentData environmentData, URLAssertions urlAssertions)
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.
[Expand]
Inherited Methods
From class com.atlassian.jira.functest.framework.AbstractNavigationUtil
From class com.atlassian.jira.functest.framework.AbstractFuncTestUtil
From class java.lang.Object
From interface com.atlassian.jira.functest.framework.assertions.DashboardAssertions
From interface com.atlassian.jira.testkit.client.log.FuncTestLogger

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

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.