com.atlassian.jira.webtest.selenium.jql
Class TestJqlAutoComplete

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

public class TestJqlAutoComplete
extends AbstractTestJqlAutoComplete

Selenium tests for the JQL autocomplete.

Since:
v4.0

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.jql.AbstractTestJqlAutoComplete
FUNC_ID_PREFIX, ILLEGAL_CHARS_STRING, JQL_INPUT, jqlLocator, NO_FUNCTION_SUGGESTIONS, NO_VALUE_SUGGESTIONS, OPERATOR_ID_PREFIX, PARSE_FAIL, SOME_RESERVED_WORDS, SUCCESS, VALUE_ID_PREFIX
 
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
TestJqlAutoComplete()
           
 
Method Summary
 void onSetUp()
           
 void testCompletionWorks()
           
 void testFieldSuggestions()
           
 void testLogicalOperatorsAndOrderBySuggestions()
           
 void testOperandSuggestions()
           
 void testOperatorSuggestions()
           
 void testPredicates()
           
 void testTabWhenNoSuggestionsSelectedCloseSuggestions()
           
 
Methods inherited from class com.atlassian.jira.webtest.selenium.jql.AbstractTestJqlAutoComplete
_testBoldSuggestions, _testBoldSuggestions, _testFieldSuggestions, _testFieldSuggestions, _testOrderByBoldSuggestions, _testParse, _testSuggestions, _testSuggestions, _testSuggestions, _testSuggestions, _testSuggestions, assertFieldNoLongerVisible, assertFieldNoLongerVisible, assertFunctionSuggestion, assertFunctionSuggestion, assertOperatorSuggestion, assertSuggestionsClosed, assertSuggestionsOpen, assertValueSuggestion, assertValueSuggestion, hideFieldAndAssertFieldNoLongerVisible, hideFieldAndAssertFieldNoLongerVisible, hideFieldWithName, suggestionsClosed, suggestionsOpenAndReady, typeInStringAndComplete, typeInStringAndCompleteFunction, typeInStringAndCompleteOperator
 
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
 

Constructor Detail

TestJqlAutoComplete

public TestJqlAutoComplete()
Method Detail

onSetUp

public void onSetUp()
Overrides:
onSetUp in class AbstractTestJqlAutoComplete

testPredicates

public void testPredicates()
                    throws Exception
Throws:
Exception

testCompletionWorks

public void testCompletionWorks()
                         throws Exception
Throws:
Exception

testFieldSuggestions

public void testFieldSuggestions()
                          throws Exception
Throws:
Exception

testOperatorSuggestions

public void testOperatorSuggestions()
                             throws Exception
Throws:
Exception

testOperandSuggestions

public void testOperandSuggestions()
                            throws Exception
Throws:
Exception

testLogicalOperatorsAndOrderBySuggestions

public void testLogicalOperatorsAndOrderBySuggestions()
                                               throws Exception
Throws:
Exception

testTabWhenNoSuggestionsSelectedCloseSuggestions

public void testTabWhenNoSuggestionsSelectedCloseSuggestions()
                                                      throws Exception
Throws:
Exception


Copyright © 2002-2012 Atlassian. All Rights Reserved.