Class TestCreateIssue

java.lang.Object
com.atlassian.jira.functest.framework.BaseJiraFuncTest
com.atlassian.jira.webtests.ztests.issue.TestCreateIssue

public class TestCreateIssue extends BaseJiraFuncTest
  • 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

      public String createIssue()
      Test 1: Creating issue with summary, priority, components, fix versions, affects versions, environment and description
    • createIssueWithoutComponents

      public String createIssueWithoutComponents()
      Test 2: Creating issue WITHOUT components, fix versions and affects versions
    • createIssueWithTimeTrackingDetails

      public String createIssueWithTimeTrackingDetails()
      Test 3: Creating issue WITH time tracking details and WITHOUT components, fix versions and affects versions
    • createIssueWithoutAssignee

      public String 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()