com.atlassian.jira.webtests.ztests.navigator
Class TestIssueNavigator

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.jira.functest.framework.FuncTestCase
              extended by com.atlassian.jira.webtests.ztests.navigator.TestIssueNavigator
All Implemented Interfaces:
FunctTestConstants, FuncTestLogger, EnvironmentAware, junit.framework.Test

public class TestIssueNavigator
extends FuncTestCase


Field Summary
 
Fields inherited from class com.atlassian.jira.functest.framework.FuncTestCase
administration, assertions, backdoor, environmentData, form, funcTestHelperFactory, locator, log, navigation, oldway_consider_porting, page, parse, tester, text
 
Fields inherited from interface com.atlassian.jira.functest.framework.FunctTestConstants
ADMIN_EMAIL, ADMIN_FULLNAME, ADMIN_PASSWORD, ADMIN_USERNAME, ADMINISTER, AFFECTS_VERSIONS_FIELD_ID, ANYONE, ASSIGN_FIELD_SCREEN, ASSIGN_FIELD_SCREEN_NAME, ASSIGN_ISSUE, ASSIGNABLE_USER, ASSIGNEE_FIELD_ID, ATTACHMENT_FIELD_ID, BOB_EMAIL, BOB_FULLNAME, BOB_PASSWORD, BOB_USERNAME, BROWSE, BUILT_IN_CUSTOM_FIELD_KEY, BULK_CHANGE, BUTTON_CANCEL, BUTTON_CONFIRM, BUTTON_NAME_NEXT, BUTTON_NEXT, CHANGE_HISTORY, CLONERS_INWARD_LINK_NAME, CLONERS_LINK_TYPE_NAME, CLONERS_OUTWARD_LINK_NAME, CLOSE_ISSUE, COMMENT_ISSUE, COMPONENT_NAME_FOUR, COMPONENT_NAME_ONE, COMPONENT_NAME_THREE, COMPONENT_NAME_TWO, COMPONENTS_FIELD_ID, CREATE_ATTACHMENT, CREATE_ISSUE, CREATE_ISSUE_OPERATION_SCREEN, CREATE_SHARED_OBJECTS, CUSTOM_FIELD_CONFIGURATION, CUSTOM_FIELD_PREFIX, CUSTOM_FIELD_TYPE_CHECKBOX, CUSTOM_FIELD_TYPE_DATEPICKER, CUSTOM_FIELD_TYPE_DATETIME, CUSTOM_FIELD_TYPE_GROUPPICKER, CUSTOM_FIELD_TYPE_MULTIGROUPPICKER, CUSTOM_FIELD_TYPE_MULTISELECT, CUSTOM_FIELD_TYPE_MULTIUSERPICKER, CUSTOM_FIELD_TYPE_RADIO, CUSTOM_FIELD_TYPE_SELECT, CUSTOM_FIELD_TYPE_TEXTFIELD, CUSTOM_FIELD_TYPE_USERPICKER, CUSTOM_SUB_TASK_SUMMARY, CUSTOM_SUB_TASK_TYPE_DESCRIPTION, CUSTOM_SUB_TASK_TYPE_NAME, DEFAULT_ASSIGNEE_ERROR_MESSAGE, DEFAULT_FIELD_CONFIGURATION, DEFAULT_FIELD_SCREEN_NAME, DEFAULT_ISSUE_TYPE_SCREEN_SCHEME, DEFAULT_OPERATION_SCREEN, DEFAULT_PERM_SCHEME, DEFAULT_SCREEN_SCHEME, DEFAULT_TEXT_RENDERER, DELETE_ISSUE, DUE_DATE_FIELD_ID, EDIT_ISSUE, EDIT_ISSUE_OPERATION_SCREEN, EVENT_TYPE_ACTIVE_STATUS, EVENT_TYPE_INACTIVE_STATUS, FIELD_ASSIGNEE, FIELD_FIX_VERSIONS, FIELD_OPERATION, FIELD_PRIORITY, FIELD_SCHEME_DESC, FIELD_SCHEME_NAME, FIELD_TABLE_ID, FIELD_VERSIONS, FIX_VERSIONS_FIELD_ID, FORMAT_DAYS, FORMAT_HOURS, FORMAT_PRETTY, FRED_EMAIL, FRED_FULLNAME, FRED_PASSWORD, FRED_USERNAME, FS, GLOBAL_ADMIN, HTM, ISSUE_ALL, ISSUE_BUG, ISSUE_IMAGE_BUG, ISSUE_IMAGE_IMPROVEMENT, ISSUE_IMAGE_NEWFEATURE, ISSUE_IMAGE_SUB_TASK, ISSUE_IMAGE_TASK, ISSUE_IMPROVEMENT, ISSUE_NEWFEATURE, ISSUE_TAB_ALL, ISSUE_TAB_CHANGE_HISTORY, ISSUE_TAB_COMMENTS, ISSUE_TAB_WORK_LOG, ISSUE_TASK, ISSUE_TYPE_ALL, ISSUE_TYPE_ANY, ISSUE_TYPE_BUG, ISSUE_TYPE_IMPROVEMENT, ISSUE_TYPE_NEWFEATURE, ISSUE_TYPE_SUB_TASK, ISSUE_TYPE_TASK, ISSUETABLE_EDIT_ROW, ISSUETABLE_HEADER_ROW, ISSUETABLE_ID, JIRA_ADMIN_GROUP, JIRA_ADMIN_ROLE, JIRA_DEV_GROUP, JIRA_DEV_ROLE, JIRA_FORM_NAME, JIRA_USERS_GROUP, JIRA_USERS_ROLE, LABEL_ISSUE_NAVIGATOR, LINK_ASSIGN_ISSUE, LINK_BULK_CHANGE_ALL, LINK_BULK_CHANGE_CURR_PG, LINK_CLONE_ISSUE, LINK_DELETE_ISSUE, LINK_EDIT_ISSUE, LINK_ISSUE, LINK_NEXT_PG, MANAGE_GROUP_FILTER_SUBSCRIPTIONS, MANAGE_WATCHER_LIST, minorPriority, MODIFY_REPORTER, MOVE_DOWN, MOVE_ISSUE, MOVE_TO_FIRST, MOVE_TO_LAST, MOVE_UP, PERM_SCHEME_DESC, PERM_SCHEME_NAME, PRIORITY_BLOCKER, PRIORITY_CRITICAL, PRIORITY_FIELD_ID, PRIORITY_IMAGE_BLOCKER, PRIORITY_IMAGE_CRITICAL, PRIORITY_IMAGE_MAJOR, PRIORITY_IMAGE_MINOR, PRIORITY_IMAGE_TRIVIAL, PRIORITY_MAJOR, PRIORITY_MINOR, PRIORITY_TRIVIAL, PROJECT_ADMIN, PROJECT_HOMOSAP_KEY, PROJECT_MONKEY, PROJECT_MONKEY_KEY, PROJECT_NEO, PROJECT_NEO_KEY, PROJECT_TAB_CHANGE_LOG, PROJECT_TAB_COMPONENTS, PROJECT_TAB_OPEN_ISSUES, PROJECT_TAB_POPULAR_ISSUES, PROJECT_TAB_ROAD_MAP, PROJECT_TAB_VERSIONS, RADIO_OPERATION_DELETE, RADIO_OPERATION_EDIT, RADIO_OPERATION_MOVE, RADIO_OPERATION_WORKFLOW, REPORTER_FIELD_ID, RESOLUTION_FIELD_ID, RESOLVE_FIELD_SCREEN_NAME, RESOLVE_ISSUE, SCHEDULE_ISSUE, SCREEN_TABLE_NAME_COLUMN_INDEX, SECURITY_LEVEL_FIELD_ID, SECURITY_LEVEL_ONE_DESC, SECURITY_LEVEL_ONE_NAME, SECURITY_LEVEL_THREE_DESC, SECURITY_LEVEL_THREE_NAME, SECURITY_LEVEL_TWO_DESC, SECURITY_LEVEL_TWO_NAME, SECURITY_SCHEME_DESC, SECURITY_SCHEME_NAME, SET_ISSUE_SECURITY, STATUS_IMAGE_IN_PROGRESS, STATUS_IMAGE_OPEN, STATUS_IMAGE_REOPENED, STATUS_IMAGE_RESOLVED, STATUS_IN_PROGRESS, STATUS_NAME, STATUS_OPEN, STEP_CHOOSE_ISSUES, STEP_CHOOSE_OPERATION, STEP_CONFIRMATION, STEP_NAME, STEP_OPERATION_DETAILS, STEP_PREFIX, SUB_TASK_DEFAULT_TYPE, SUB_TASK_SUMMARY, Summary, SYS_ADMIN_PASSWORD, SYS_ADMIN_USERNAME, SYSTEM_ADMINISTER, TEST_FIELD_SCREEN, TRANSIION_NAME_APPROVE, TRANSIION_NAME_CLOSE, TRANSIION_NAME_REOPEN, TRANSIION_NAME_RESOLVE, TRANSIION_NAME_START_PROGRESS, TRANSIION_NAME_STOP_PROGRESS, USE, USER_PICKER, VERSION_NAME_FIVE, VERSION_NAME_FOUR, VERSION_NAME_ONE, VERSION_NAME_THREE, VERSION_NAME_TWO, VERSIONS_FIELD_ID, VIEW_ISSUE_OPERATION_SCREEN, VIEW_VERSION_CONTROL, VIEW_VOTERS_AND_WATCHERS, WIKI_STYLE_RENDERER, WORK_ISSUE, WORKFLOW_ADDED, WORKFLOW_COPIED, WORKFLOW_SCHEME
 
Constructor Summary
TestIssueNavigator()
           
 
Method Summary
protected  void removeColumnFromIssueNavigatorByPosition(int pos)
           
 void testBackToPreviousViewLinks()
          Test 'printable' and 'fullcontent' view's 'Back to previous view' link returns the correct view results.
 void testCanSearchForTextWithDotAndColon()
           
 void testCustomfieldVisibility()
          Tests custom fields visibility on the issue navigator
 void testIssueNavigatorHideReporter()
           
 void testIssueNavigatorManyFields()
           
 void testIssueNavigatorSelectGroup()
           
 void testIssueNavigatorSortByComponent()
           
 void testIssueNavigatorSortByCustomField()
           
 void testIssueNavigatorWithInvalidFilterId()
           
 void testIssueNavigatorXMLViewWithCustomFields()
           
 void testJQLQueryBoxShownWhenInvalidProjectIdsSetInUrl()
          Tests to check if the Status searcher is displayed when the SearchContext is made invalid by specifying bad Project IDs via the URL.
 void testNavigatorColumnVisibilityForCustomFields()
           
 void testNavigatorOrdering()
          Tests that the sorting order of the issue navigator is correct and does not crash as in JRA-12974.
 void testNavigatorTabs()
          Check that the navigator tabs work correctly.
 void testNoColumnsDialog()
           
 void testProjectComponentsVisibility()
          tests to check if project components (versions and components) are visible only when a project with a component or a version is selected from the project list
 void testProjectCustomFieldsFixForAffectsComponetsVisibilityOneProject()
          Test to see if the custom fields, fix for versions, affects versions, and components show up if there is only one visible project.
 void testProjectDropDownVisibility()
           
 void testSearchAbsoluteDateRangeDueDate()
           
 void testSearchAfterProjectRemoval()
           
 void testSearchNumberCustomFieldParam()
           
 void testSearchParametersDisplayed()
          Checks if the entered search parameters are displayed on the view panel (after clicking hide)
 void testSearchPermLink()
           
 void testSearchRelativeDateRangeDueDate()
           
 void testSearchSortDescriptionForInvalidField()
           
 void testSearchWorkRatioParam()
           
 void testSubtaskIssueNavigatorColumn()
           
 void testXssInImageUrls()
           
 
Methods inherited from class com.atlassian.jira.functest.framework.FuncTestCase
builInCustomFieldKey, getAssertions, getEnvironmentData, getTester, getWebClientListener, isDumpHTML, log, log, runBare, runTest, setEnvironmentData, setUp, setUpHttpUnitOptions, setUpTest, shouldSkipSetup, tearDown, tearDownTest, xpath
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, 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
 

Constructor Detail

TestIssueNavigator

public TestIssueNavigator()
Method Detail

testSubtaskIssueNavigatorColumn

public void testSubtaskIssueNavigatorColumn()

removeColumnFromIssueNavigatorByPosition

protected void removeColumnFromIssueNavigatorByPosition(int pos)

testNavigatorColumnVisibilityForCustomFields

public void testNavigatorColumnVisibilityForCustomFields()

testProjectDropDownVisibility

public void testProjectDropDownVisibility()

testProjectCustomFieldsFixForAffectsComponetsVisibilityOneProject

public void testProjectCustomFieldsFixForAffectsComponetsVisibilityOneProject()
Test to see if the custom fields, fix for versions, affects versions, and components show up if there is only one visible project.


testSearchAfterProjectRemoval

public void testSearchAfterProjectRemoval()

testProjectComponentsVisibility

public void testProjectComponentsVisibility()
tests to check if project components (versions and components) are visible only when a project with a component or a version is selected from the project list


testJQLQueryBoxShownWhenInvalidProjectIdsSetInUrl

public void testJQLQueryBoxShownWhenInvalidProjectIdsSetInUrl()
Tests to check if the Status searcher is displayed when the SearchContext is made invalid by specifying bad Project IDs via the URL. Note that, if at least one Project ID is valid, then Status should be visible


testCustomfieldVisibility

public void testCustomfieldVisibility()
Tests custom fields visibility on the issue navigator


testSearchParametersDisplayed

public void testSearchParametersDisplayed()
Checks if the entered search parameters are displayed on the view panel (after clicking hide)


testIssueNavigatorSortByComponent

public void testIssueNavigatorSortByComponent()

testIssueNavigatorSortByCustomField

public void testIssueNavigatorSortByCustomField()

testIssueNavigatorHideReporter

public void testIssueNavigatorHideReporter()

testIssueNavigatorManyFields

public void testIssueNavigatorManyFields()

testIssueNavigatorSelectGroup

public void testIssueNavigatorSelectGroup()

testIssueNavigatorXMLViewWithCustomFields

public void testIssueNavigatorXMLViewWithCustomFields()
                                               throws Exception
Throws:
Exception

testSearchPermLink

public void testSearchPermLink()
                        throws SAXException
Throws:
SAXException

testIssueNavigatorWithInvalidFilterId

public void testIssueNavigatorWithInvalidFilterId()

testBackToPreviousViewLinks

public void testBackToPreviousViewLinks()
Test 'printable' and 'fullcontent' view's 'Back to previous view' link returns the correct view results. JRA-12036


testSearchAbsoluteDateRangeDueDate

public void testSearchAbsoluteDateRangeDueDate()

testSearchRelativeDateRangeDueDate

public void testSearchRelativeDateRangeDueDate()

testSearchWorkRatioParam

public void testSearchWorkRatioParam()

testSearchNumberCustomFieldParam

public void testSearchNumberCustomFieldParam()

testNavigatorOrdering

public void testNavigatorOrdering()
Tests that the sorting order of the issue navigator is correct and does not crash as in JRA-12974.


testNavigatorTabs

public void testNavigatorTabs()
Check that the navigator tabs work correctly.


testSearchSortDescriptionForInvalidField

public void testSearchSortDescriptionForInvalidField()
                                              throws Exception
Throws:
Exception

testNoColumnsDialog

public void testNoColumnsDialog()
                         throws Exception
Throws:
Exception

testCanSearchForTextWithDotAndColon

public void testCanSearchForTextWithDotAndColon()
                                         throws Exception
Throws:
Exception

testXssInImageUrls

public void testXssInImageUrls()
                        throws Exception
Throws:
Exception


Copyright © 2002-2012 Atlassian. All Rights Reserved.