Class TestCreateIssue
java.lang.Object
com.atlassian.jira.functest.framework.BaseJiraFuncTest
com.atlassian.jira.webtests.ztests.issue.TestCreateIssue
-
Field Summary
Fields inherited from class com.atlassian.jira.functest.framework.BaseJiraFuncTest
assertions, backdoor, environmentData, initClass, navigation, tester, testRule
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTest 1: Creating issue with summary, priority, components, fix versions, affects versions, environment and descriptionvoid
Tests if the user is able to assign an issue with the 'Assign Issue' permission removedvoid
Tests if the 'Create New Issue' Link is available with the 'Create Issue' permission removedvoid
Makes the fields Components,Affects Versions and Fixed Versions hidden.void
void
Tests if the 'Reporter' Option is available with the 'Modify Reporter' permission removedvoid
Test 4: Creating an issue WITHOUT an assignee and WITHOUT fix versions and affects versionTest 2: Creating issue WITHOUT components, fix versions and affects versionsvoid
Makes the fields Components,Affects Versions and Fixed Versions required.void
Tests if the Due Date' field is available with the 'Schedule Issue' permission removedvoid
Tests if the 'Orignial Estimate' Link is available with Time Tracking activatedTest 3: Creating issue WITH time tracking details and WITHOUT components, fix versions and affects versionsvoid
Tests if the user is able to assign an issue with the 'Assignable User' permission removedvoid
setUp()
void
tearDown()
void
void
void
void
void
Checks that step 1 (choose project and issue type) of create issue is skipped if there is nothing for the user to choose on the form.void
void
void
void
Methods inherited from class com.atlassian.jira.functest.framework.BaseJiraFuncTest
getAssertions, getBackdoor, getEnvironmentData, getTester
-
Constructor Details
-
TestCreateIssue
public TestCreateIssue()
-
-
Method Details
-
setUp
public void setUp() -
tearDown
public void tearDown() -
testCreateIssueInJiraWithMultipleProjectsAndManyIssueTypes
public void testCreateIssueInJiraWithMultipleProjectsAndManyIssueTypes() -
testCreateIssueInJiraWithSingleProjectAndSingleIssueType
public void testCreateIssueInJiraWithSingleProjectAndSingleIssueType() -
testCreateIssue
public void testCreateIssue() -
testCreateIssueSkipStep1OnlyOneProjectAndOneIssueType
public void testCreateIssueSkipStep1OnlyOneProjectAndOneIssueType()Checks that step 1 (choose project and issue type) of create issue is skipped if there is nothing for the user to choose on the form. If there is only one project in which the user has create issue permission or the project id is preselected and there is only one issue type available, then expect to be redirected to the create issue details page. -
testCreateIssueUserHasNoCreateIssuePermission
public void testCreateIssueUserHasNoCreateIssuePermission() -
testCreateIssueWithNoPidInUrlOneProjectAvailableIssueTypeInUrl
public void testCreateIssueWithNoPidInUrlOneProjectAvailableIssueTypeInUrl() -
createIssue
Test 1: Creating issue with summary, priority, components, fix versions, affects versions, environment and description -
createIssueWithoutComponents
Test 2: Creating issue WITHOUT components, fix versions and affects versions -
createIssueWithTimeTrackingDetails
Test 3: Creating issue WITH time tracking details and WITHOUT components, fix versions and affects versions -
createIssueWithoutAssignee
Test 4: Creating an issue WITHOUT an assignee and WITHOUT fix versions and affects version -
createIssueWithNoSummary
public void createIssueWithNoSummary() -
createIssueWithRequiredFields
public void createIssueWithRequiredFields()Makes the fields Components,Affects Versions and Fixed Versions required. Attempts to create an issue with required fields not filled out and with an invalid assignee -
createIssueWithHiddenFields
public void createIssueWithHiddenFields()Makes the fields Components,Affects Versions and Fixed Versions hidden. -
createIssueWithInvalidDueDate
public void createIssueWithInvalidDueDate() -
createIssueWithCreatePermission
public void createIssueWithCreatePermission()Tests if the 'Create New Issue' Link is available with the 'Create Issue' permission removed -
createIssueWithSchedulePermission
public void createIssueWithSchedulePermission()Tests if the Due Date' field is available with the 'Schedule Issue' permission removed -
createIssueWithAssignPermission
public void createIssueWithAssignPermission()Tests if the user is able to assign an issue with the 'Assign Issue' permission removed -
createIssueWithModifyReporterPermission
public void createIssueWithModifyReporterPermission()Tests if the 'Reporter' Option is available with the 'Modify Reporter' permission removed -
createIssueWithTimeTracking
public void createIssueWithTimeTracking()Tests if the 'Orignial Estimate' Link is available with Time Tracking activated -
createIssueWithUnassignableUser
public void createIssueWithUnassignableUser()Tests if the user is able to assign an issue with the 'Assignable User' permission removed -
testEscapeProjectNameOnFirstScreenOfCreateIssue
public void testEscapeProjectNameOnFirstScreenOfCreateIssue() -
testXssInDueDate
public void testXssInDueDate() -
testCreateButtonEncoding
public void testCreateButtonEncoding()
-