com.atlassian.jira.webtest.selenium.ajaxuserpicker
Class TestIssueUserPicker

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.ajaxuserpicker.AbstractTestAjaxUserPicker
                      extended by com.atlassian.jira.webtest.selenium.ajaxuserpicker.TestIssueUserPicker
All Implemented Interfaces:
EnvironmentAware, com.atlassian.performance.junit.PerformanceTest, junit.framework.Test

public class TestIssueUserPicker
extends AbstractTestAjaxUserPicker


Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.jira.webtest.selenium.JiraSeleniumTest
JiraSeleniumTest.Check
 
Field Summary
 
Fields inherited from class com.atlassian.jira.webtest.selenium.ajaxuserpicker.AbstractTestAjaxUserPicker
ITEM_KEY, MULTI_CUSTOM_FIELD, MULTI_CUSTOM_FIELD_KEY, READY_DROPDOWN_LOCATOR_TEMPLATE
 
Fields inherited from class com.atlassian.jira.webtest.selenium.JiraSeleniumTest
ADMIN_PASSWORD, ADMIN_USERNAME, backdoor, DROP_DOWN_WAIT, environmentData, 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
TestIssueUserPicker()
           
 
Method Summary
protected  void login(String username)
           
 void onSetUp()
           
protected  void onTearDown()
           
protected  void openCreateIssuePage()
           
static junit.framework.Test suite()
           
 void testUserPickerOnViewIssuePageShouldNotShowSuggestions()
           
 void testUserPickerOnViewIssuePageShouldNotShowSuggestionsForUsersWithNoPermission()
           
 void testUserPickerOnViewIssuePageShouldShowSuggestions()
           
 void testUserPickerSuggestionsAndSelectionWorksOnCreateIssuePage()
           
 void testUserPickerSuggestionsAndSelectionWorksOnEditIssuePage()
           
 
Methods inherited from class com.atlassian.jira.webtest.selenium.ajaxuserpicker.AbstractTestAjaxUserPicker
assertUsersShown, commonNegativeACAsserts, commonPostiveACAsserts, dropDownReadyCondition, getCurrentSelectedACKey, isVisibleACDropDown, notPermittedACAsserts, restoreAjaxUserPickerData, testNotPermittedSimpleUserPicker, testSimpleUserPicker, waitForACDropDown, waitForACDropDownNotAppear
 
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
 

Constructor Detail

TestIssueUserPicker

public TestIssueUserPicker()
Method Detail

suite

public static junit.framework.Test suite()

onSetUp

public void onSetUp()
Overrides:
onSetUp in class AbstractTestAjaxUserPicker

onTearDown

protected void onTearDown()
                   throws Exception
Overrides:
onTearDown in class JiraSeleniumTest
Throws:
Exception

testUserPickerOnViewIssuePageShouldShowSuggestions

public void testUserPickerOnViewIssuePageShouldShowSuggestions()

testUserPickerOnViewIssuePageShouldNotShowSuggestions

public void testUserPickerOnViewIssuePageShouldNotShowSuggestions()

testUserPickerOnViewIssuePageShouldNotShowSuggestionsForUsersWithNoPermission

public void testUserPickerOnViewIssuePageShouldNotShowSuggestionsForUsersWithNoPermission()

testUserPickerSuggestionsAndSelectionWorksOnCreateIssuePage

public void testUserPickerSuggestionsAndSelectionWorksOnCreateIssuePage()

testUserPickerSuggestionsAndSelectionWorksOnEditIssuePage

public void testUserPickerSuggestionsAndSelectionWorksOnEditIssuePage()

login

protected void login(String username)

openCreateIssuePage

protected void openCreateIssuePage()


Copyright © 2002-2013 Atlassian. All Rights Reserved.