com.atlassian.jira.webtest.selenium.gadgets
Class TestCreatedVsResolvedGadget

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.selenium.SeleniumTest
              extended by com.atlassian.jira.webtest.selenium.JiraSeleniumTest
                  extended by com.atlassian.jira.webtest.selenium.gadgets.GadgetTest
                      extended by com.atlassian.jira.webtest.selenium.gadgets.BaseChartGadgetTest
                          extended by com.atlassian.jira.webtest.selenium.gadgets.TestCreatedVsResolvedGadget
All Implemented Interfaces:
EnvironmentAware, com.atlassian.performance.junit.PerformanceTest, junit.framework.Test

public class TestCreatedVsResolvedGadget
extends BaseChartGadgetTest

Selenium Test for the CreatedVsResolvedGadget.

Since:
v4.0

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.jira.webtest.selenium.JiraSeleniumTest
JiraSeleniumTest.Check
 
Field Summary
protected static DateFormat DF_ISSUE_NAV
           
protected static DateFormat DF_JQL_DATE
           
protected static DateFormat DF_RESTORE_XML
           
 
Fields inherited from class com.atlassian.jira.webtest.selenium.gadgets.BaseChartGadgetTest
DAILY_PERIOD, DF_DAILY_CHART, DF_HOURLY_CHART, DF_MONTHLY_CHART, DF_QUARTERLY_CHART, DF_WEEKLY_CHART, DF_YEAR_CHART, HOURLY_PERIOD, MONTHLY_PERIOD, QUARTERLY_PERIOD, REFRESH_NEVER, WEEKLY_PERIOD, YEARLY_PERIOD
 
Fields inherited from class com.atlassian.jira.webtest.selenium.gadgets.GadgetTest
GADGET_DIRECTORY_TIMEOUT, openDropdownLocator, TIMEOUT, title
 
Fields inherited from class com.atlassian.jira.webtest.selenium.JiraSeleniumTest
ADMIN_PASSWORD, ADMIN_USERNAME, backdoor, DROP_DOWN_WAIT, environmentData, HSP_1, logger, MKY_1, PAGE_LOAD_WAIT, PAGE_LOAD_WAIT_TIME, PRESENT_TO_VISIBLE_DELAY, VK_DOWN, VK_ESC, VK_UP
 
Fields inherited from class com.atlassian.selenium.SeleniumTest
assertThat, client, config, recorder
 
Constructor Summary
TestCreatedVsResolvedGadget()
           
 
Method Summary
 void _testConfiguration()
           
 void _testCumulative()
           
 void _testNoTrend()
           
 void _testPeriods()
           
 void _testProjectAndIssuesLinks()
           
 void _testUncumulative()
           
 void onSetUp()
          Loads minimal starting data for gadget testing and does an admin login.
protected  void restoreGadgetData()
           
 void testCreatedVsResolved()
           
 
Methods inherited from class com.atlassian.jira.webtest.selenium.gadgets.BaseChartGadgetTest
_testAllPeriods, _testDailyPeriod, _testHourlyPeriod, _testMonthlyPeriod, _testQuarterlyPeriod, _testWeeklyPeriod, _testYearlyPeriod, assertDaysForPeriodValid, gotoDashboard
 
Methods inherited from class com.atlassian.jira.webtest.selenium.gadgets.GadgetTest
addColumnByName, addColumnByName, addGadget, addGadget, assertAutoComplete, assertDaysPreviouslyFieldPresent, assertFieldOptionLabelsPresent, assertFieldOptionValuePresent, assertFieldOptionValuesPresent, assertGadgetNotVisible, assertGadgetTitle, assertPeriodFieldPresent, assertRefreshIntervalFieldPresent, assertSelectFieldError, assertTextFieldError, clickConfigButton, clickRefreshButton, deleteColumnByValue, deleteColumnByValue, deleteGadget, getBaseUrl, loginAsAdmin, maximizeGadget, minimizeGadget, onTearDown, selectByLabels, selectDashboardFrame, selectGadget, selectProjectOrFilterFromAutoComplete, setSelectField, setTextField, submitGadgetConfig, viewGadgetAsAnonymous, viewGadgetAsAnonymous, waitForGadgetConfiguration, waitForGadgetView
 
Methods inherited from class com.atlassian.jira.webtest.selenium.JiraSeleniumTest
assertFalse, assertFalse, assertTrue, assertTrue, backgroundLogout, context, getAdministration, getBackdoor, getEnvironmentData, getNavigator, getSeleniumConfiguration, getUserPreferences, getWebUnitTest, getXsrfToken, globalPages, internalSetup, isBeforeJdk15, isKickAssEnabled, isUserAgentFirefox, log, restoreBlankInstance, restoreData, restoreData, restoreData, restoreDataWithPluginsReload, restoreDataWithReplacedTokens, restoreI18nData, restoreUnsetupJIRA, restoreViaBackdoor, restoreViaBackdoorAndGoToDashboard, runBare, runBareTestCase, selectMainWindow, setEnvironmentData, setSeleniumTestListener, suiteFor, timeouts, turnOffProfiling, turnOnProfiling, visibleByTimeoutWithDelay, waitFor, waitForContentUpdate, waitForRestore
 
Methods inherited from class com.atlassian.selenium.SeleniumTest
getRecorder, getSeleniumClient, setUp, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface junit.framework.Test
countTestCases, run
 

Field Detail

DF_RESTORE_XML

protected static final DateFormat DF_RESTORE_XML

DF_ISSUE_NAV

protected static final DateFormat DF_ISSUE_NAV

DF_JQL_DATE

protected static final DateFormat DF_JQL_DATE
Constructor Detail

TestCreatedVsResolvedGadget

public TestCreatedVsResolvedGadget()
Method Detail

onSetUp

public void onSetUp()
Description copied from class: GadgetTest
Loads minimal starting data for gadget testing and does an admin login.

Overrides:
onSetUp in class GadgetTest

restoreGadgetData

protected void restoreGadgetData()
Overrides:
restoreGadgetData in class GadgetTest

testCreatedVsResolved

public void testCreatedVsResolved()
                           throws InterruptedException
Throws:
InterruptedException

_testConfiguration

public void _testConfiguration()

_testUncumulative

public void _testUncumulative()

_testCumulative

public void _testCumulative()

_testNoTrend

public void _testNoTrend()

_testPeriods

public void _testPeriods()
                  throws InterruptedException
Throws:
InterruptedException

_testProjectAndIssuesLinks

public void _testProjectAndIssuesLinks()


Copyright © 2002-2013 Atlassian. All Rights Reserved.