Class TestDashboard
java.lang.Object
com.atlassian.jira.pageobjects.JiraWebDriverTest
com.atlassian.jira.pageobjects.BaseJiraWebTest
com.atlassian.jira.webtest.webdriver.tests.admin.dashboards.TestDashboard
-
Field Summary
FieldsFields inherited from class com.atlassian.jira.pageobjects.BaseJiraWebTest
jiraWebTestClassRules, webTestRuleFields inherited from class com.atlassian.jira.pageobjects.JiraWebDriverTest
backdoor, jira, logger, mailHelper, pageBinder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidTesting 'favorite' feature (from the user POV).voidvoidvoidvoidVerifies the info flag is displayed for an empty dashboard when a user is not logged-in.voidMethods inherited from class com.atlassian.jira.pageobjects.JiraWebDriverTest
getBackdoor, getBaseClassRule, getBaseRule
-
Field Details
-
JIRA_DASHBOARD_KEY
- See Also:
-
-
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, seeDashboard.prepareStringForWrmData(java.lang.String)and remove this comment. -
testShouldShowErrorMessageWhenDashboardDoesntExist
public void testShouldShowErrorMessageWhenDashboardDoesntExist() -
shouldShowErrorMessageWhenDashboardExistsAndUserIsLoggedOut
public void shouldShowErrorMessageWhenDashboardExistsAndUserIsLoggedOut()
-