com.atlassian.jira.webtest.selenium.misc
Class Test500Page

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

public class Test500Page
extends JiraSeleniumTest

This test is an extension of the Test500Page Functional test for international testing. It needs to be a Selenium test as there appears to be a bug in httpunit that reads non-ascii characters incorrectly.

Since:
v4.0

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.jira.webtest.selenium.JiraSeleniumTest
JiraSeleniumTest.Check
 
Field Summary
static String ADMIN_PASSWORD
           
static String ADMIN_USERNAME
           
static String PASSWORD_BOB
           
static String PASSWORD_NON_SYS_ADMIN
           
static String USERNAME_BOB
           
static String USERNAME_NON_SYS_ADMIN
           
 
Fields inherited from class com.atlassian.jira.webtest.selenium.JiraSeleniumTest
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
Test500Page()
           
 
Method Summary
 void onSetUp()
           
 void testI18nNonSystemAdministratorDoesntSeeFilePaths()
           
 void testI18nSystemAdministratorCanSeeSysAdminOnlyProperties()
           
 
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, 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

ADMIN_USERNAME

public static final String ADMIN_USERNAME
See Also:
Constant Field Values

ADMIN_PASSWORD

public static final String ADMIN_PASSWORD
See Also:
Constant Field Values

USERNAME_BOB

public static final String USERNAME_BOB
See Also:
Constant Field Values

PASSWORD_BOB

public static final String PASSWORD_BOB
See Also:
Constant Field Values

USERNAME_NON_SYS_ADMIN

public static final String USERNAME_NON_SYS_ADMIN
See Also:
Constant Field Values

PASSWORD_NON_SYS_ADMIN

public static final String PASSWORD_NON_SYS_ADMIN
See Also:
Constant Field Values
Constructor Detail

Test500Page

public Test500Page()
Method Detail

onSetUp

public void onSetUp()
Overrides:
onSetUp in class JiraSeleniumTest

testI18nNonSystemAdministratorDoesntSeeFilePaths

public void testI18nNonSystemAdministratorDoesntSeeFilePaths()

testI18nSystemAdministratorCanSeeSysAdminOnlyProperties

public void testI18nSystemAdministratorCanSeeSysAdminOnlyProperties()


Copyright © 2002-2012 Atlassian. All Rights Reserved.