com.atlassian.jira.webtest.selenium.calendar
Class TestCalendarPopUp

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.calendar.TestCalendarPopUp
All Implemented Interfaces:
EnvironmentAware, com.atlassian.performance.junit.PerformanceTest, junit.framework.Test

public class TestCalendarPopUp
extends JiraSeleniumTest


Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.jira.webtest.selenium.JiraSeleniumTest
JiraSeleniumTest.Check
 
Field Summary
protected static int WAIT_POPUP
           
 
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
TestCalendarPopUp()
           
 
Method Summary
static junit.framework.Test suite()
           
 void testCalendarMonthsEn()
           
 void testCalendarMonthsFr()
           
 void testCalendarMonthsJp()
           
 void testCustomFieldDateCalendarInSeveralLanguages()
           
 void testCustomFieldDateTimeCalendarInSeveralLanguages()
           
 void testDateTimePickerInDialog()
           
 void testDateTimePickerWhenSystemIsSetTo24HourMode()
          This test restores jira from xml which has been prepared to setup jira with datetime formats in 24 mode.
 void testDueDateCalendarInSeveralLanguages()
           
 void testISO8601CalendarOff()
           
 void testISO8601CalendarOn()
           
 void testUsingServerDate()
           
protected  void waitForCalendarPopUp(int maxMillis)
           
 
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, onSetUp, 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, onTearDown, 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

WAIT_POPUP

protected static final int WAIT_POPUP
See Also:
Constant Field Values
Constructor Detail

TestCalendarPopUp

public TestCalendarPopUp()
Method Detail

suite

public static junit.framework.Test suite()

testDateTimePickerInDialog

public void testDateTimePickerInDialog()
                                throws Exception
Throws:
Exception

testDateTimePickerWhenSystemIsSetTo24HourMode

public void testDateTimePickerWhenSystemIsSetTo24HourMode()
This test restores jira from xml which has been prepared to setup jira with datetime formats in 24 mode. The test will then attempt to open the date time picker and click on the hours 24 times validating the new value.

The issue has its datetimepicker custom field set to 13:45 to verify correct init from a 24hour time.


testCalendarMonthsEn

public void testCalendarMonthsEn()
                          throws Exception
Throws:
Exception

testCalendarMonthsJp

public void testCalendarMonthsJp()
                          throws Exception
Throws:
Exception

testCalendarMonthsFr

public void testCalendarMonthsFr()
                          throws Exception
Throws:
Exception

testDueDateCalendarInSeveralLanguages

public void testDueDateCalendarInSeveralLanguages()
                                           throws Exception
Throws:
Exception

testCustomFieldDateCalendarInSeveralLanguages

public void testCustomFieldDateCalendarInSeveralLanguages()
                                                   throws Exception
Throws:
Exception

testCustomFieldDateTimeCalendarInSeveralLanguages

public void testCustomFieldDateTimeCalendarInSeveralLanguages()
                                                       throws Exception
Throws:
Exception

testUsingServerDate

public void testUsingServerDate()
                         throws Exception
Throws:
Exception

testISO8601CalendarOff

public void testISO8601CalendarOff()
                            throws Exception
Throws:
Exception

testISO8601CalendarOn

public void testISO8601CalendarOn()
                           throws Exception
Throws:
Exception

waitForCalendarPopUp

protected void waitForCalendarPopUp(int maxMillis)


Copyright © 2002-2012 Atlassian. All Rights Reserved.