public class

DashboardSeleniumHelper

extends Object
java.lang.Object
   ↳ com.atlassian.confluence.selenium.client.DashboardSeleniumHelper

Class Overview

Dashboard Selenium testing logic.

Summary

Nested Classes
enum DashboardSeleniumHelper.UpdatesTab  
Public Constructors
DashboardSeleniumHelper(SeleniumClient client, DashboardSeleniumHelper.UpdatesTab updatesTab)
Instantiate a new dashboard helper and navigate to the specified spaces tab
DashboardSeleniumHelper(SeleniumClient client)
Instantiate a new dashboard helper and navigate to the dashboard page
Public Methods
void clickUpdatesTab(DashboardSeleniumHelper.UpdatesTab tab)
Click on an updates tab.
DashboardSeleniumHelper.UpdatesTab getSelectedUpdatesTab()
void gotoDashboard(DashboardSeleniumHelper.UpdatesTab updatesTab)
Navigate to the specified spaces tab on the dashboard with a page reload.
void gotoDashboard()
Navigate to the dashboard page
boolean recentUpdatesContainsPage(Page page)
boolean recentlyUpdatedIsEmpty()
boolean tabIsVisible(DashboardSeleniumHelper.UpdatesTab tab)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public DashboardSeleniumHelper (SeleniumClient client, DashboardSeleniumHelper.UpdatesTab updatesTab)

Instantiate a new dashboard helper and navigate to the specified spaces tab

Parameters
client Selenium client
updatesTab Updates tab to navigate to

public DashboardSeleniumHelper (SeleniumClient client)

Instantiate a new dashboard helper and navigate to the dashboard page

Parameters
client Selenium client

Public Methods

public void clickUpdatesTab (DashboardSeleniumHelper.UpdatesTab tab)

Click on an updates tab. This is different from gotoDashboard(tab) because it actually performs a mouse click.

Parameters
tab The tab to click on

public DashboardSeleniumHelper.UpdatesTab getSelectedUpdatesTab ()

public void gotoDashboard (DashboardSeleniumHelper.UpdatesTab updatesTab)

Navigate to the specified spaces tab on the dashboard with a page reload. If you want to click on a tab, use clickUpdatesTab(com.atlassian.confluence.selenium.client.DashboardSeleniumHelper.UpdatesTab) instead.

Parameters
updatesTab Updates tab to navigate to

public void gotoDashboard ()

Navigate to the dashboard page

public boolean recentUpdatesContainsPage (Page page)

public boolean recentlyUpdatedIsEmpty ()

public boolean tabIsVisible (DashboardSeleniumHelper.UpdatesTab tab)