com.atlassian.jira.functest.framework.assertions
Class DashboardAssertionsImpl
java.lang.Object
com.atlassian.jira.functest.framework.AbstractFuncTestUtil
com.atlassian.jira.functest.framework.AbstractNavigationUtil
com.atlassian.jira.functest.framework.assertions.DashboardAssertionsImpl
- All Implemented Interfaces:
- DashboardAssertions, FuncTestLogger
public class DashboardAssertionsImpl
- extends AbstractNavigationUtil
- implements DashboardAssertions
And implementation of DashboardAssertions
- Since:
- v3.13
|
Constructor Summary |
DashboardAssertionsImpl(net.sourceforge.jwebunit.WebTester tester,
com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData,
URLAssertions urlAssertions)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DashboardAssertionsImpl
public DashboardAssertionsImpl(net.sourceforge.jwebunit.WebTester tester,
com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData,
URLAssertions urlAssertions)
assertDashboardPortlets
public void assertDashboardPortlets(Long id,
DashboardPagePortletInfo dashboardPortletInfo)
- Description copied from interface:
DashboardAssertions
- Ensure that the given portlets exist on the passed dashboard page.
- Specified by:
assertDashboardPortlets in interface DashboardAssertions
- Parameters:
id - the id of the dashboard to check.dashboardPortletInfo - the portlets that should exist on the dashboard.
assertDefaultDashboardPortlets
public void assertDefaultDashboardPortlets(DashboardPagePortletInfo dashboardPortletInfo)
- Description copied from interface:
DashboardAssertions
- Ensure that the given portlets exist on the system default dashboard page.
- Specified by:
assertDefaultDashboardPortlets in interface DashboardAssertions
- Parameters:
dashboardPortletInfo - the portlets that should exist on the dashboard.
assertColumns
public void assertColumns(List<String> colHeaders,
Locator dashboardsLocator)
- Description copied from interface:
DashboardAssertions
- Assert that the columns exist
- Specified by:
assertColumns in interface DashboardAssertions
- Parameters:
colHeaders - The text of the Column HeaderdashboardsLocator - Locator of the dashboard table
assertDashboardPages
public void assertDashboardPages(List<? extends SharedEntityInfo> pages,
Dashboard.Table table)
- Description copied from interface:
DashboardAssertions
- Make sure that the passed dashboard pages are listed in the passed table.
- Specified by:
assertDashboardPages in interface DashboardAssertions
- Parameters:
pages - the pages to test.table - the table that contains the portal pages.
Copyright © 2002-2012 Atlassian. All Rights Reserved.