java.lang.Object
com.atlassian.jira.pageobjects.JiraWebDriverTest
com.atlassian.jira.pageobjects.BaseJiraWebTest
com.atlassian.jira.webtest.webdriver.tests.admin.dashboards.TestDashboard

public class TestDashboard extends BaseJiraWebTest
  • Field Details

  • Constructor Details

    • TestDashboard

      public TestDashboard()
  • Method Details

    • setUpTest

      public void setUpTest()
    • testDashboardEmitsBrowserMetricsBeacon

      public void testDashboardEmitsBrowserMetricsBeacon()
    • testDashboardApdexCollection

      public void testDashboardApdexCollection()
    • testDashboardIsProperlyInitialized

      public void testDashboardIsProperlyInitialized()
    • testDashboardCanBeCreatedAsNotFavorite

      public void testDashboardCanBeCreatedAsNotFavorite()
      Testing 'favorite' feature (from the user POV). It's a basic test that verifies 'favorite' toggling via JS trigger. Under the hood all the following places are using favourite-new.jsp: - AddPortalPage - EditPortalPage - EditFilter so this test covers favorite toggling on all those pages (in standalone form, while there's needed a separate test for the dialog usage that's triggered from ManageFilters)

      There's func test coverage for that in theory, but actually it's non-existent because func tests are calling completely different logic vs what's happening from the user POV.

    • testDashboardPageTitleContainsAppName

      public void testDashboardPageTitleContainsAppName()
    • testEmptyDashboardInfoFlag

      public void testEmptyDashboardInfoFlag()
      Verifies the info flag is displayed for an empty dashboard when a user is not logged-in.
      If it failed after bumping the platform, see Dashboard.prepareStringForWrmData(java.lang.String) and remove this comment.
    • testShouldShowErrorMessageWhenDashboardDoesntExist

      public void testShouldShowErrorMessageWhenDashboardDoesntExist()
    • shouldShowErrorMessageWhenDashboardExistsAndUserIsLoggedOut

      public void shouldShowErrorMessageWhenDashboardExistsAndUserIsLoggedOut()