Class TestAttachFile
java.lang.Object
com.atlassian.jira.functest.framework.BaseJiraFuncTest
com.atlassian.jira.webtests.ztests.attachment.TestAttachFile
Functional test for attaching files.
-
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 TypeMethodDescriptionvoidvoidvoidTests that the attachment page is able to be accessed when logged in (using default permission scheme)voidTests that a user who is logged in but does not have create attachment permission cannot attach filesvoidTests 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 invoidTests that the user can attach files anonymously if the anonymous 'create attachment' permission is enabledvoidMethods inherited from class com.atlassian.jira.functest.framework.BaseJiraFuncTest
getAssertions, getBackdoor, getEnvironmentData, getTester
-
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
-