Class TestAttachFile

java.lang.Object
com.atlassian.jira.functest.framework.BaseJiraFuncTest
com.atlassian.jira.webtests.ztests.attachment.TestAttachFile

public class TestAttachFile extends BaseJiraFuncTest
Functional test for attaching files.
  • Constructor Details

    • TestAttachFile

      public TestAttachFile()
  • Method Details

    • setUpTest

      public void setUpTest()
    • tearDownTest

      public void tearDownTest()
    • testAttachFileLoggedIn

      public void testAttachFileLoggedIn()
      Tests that the attachment page is able to be accessed when logged in (using default permission scheme)
    • testAttachNoFileError

      public void testAttachNoFileError()
    • testAttachFileLoggedOutNoAnonymousPermission

      public void testAttachFileLoggedOutNoAnonymousPermission()
      Tests that the attachment link is missing from the issue and the URL redirects to the security breach page if anonymous access is disabled and the user is not logged in
    • testAttachFileLoggedOutWithAnonymousPermission

      public void testAttachFileLoggedOutWithAnonymousPermission()
      Tests that the user can attach files anonymously if the anonymous 'create attachment' permission is enabled
    • testAttachFileLoggedInWithoutPermission

      public void testAttachFileLoggedInWithoutPermission()
      Tests that a user who is logged in but does not have create attachment permission cannot attach files