public class TestAttachFile extends BaseJiraFuncTest
assertions, backdoor, environmentData, initClass, navigation, tester, testRule
Constructor and Description |
---|
TestAttachFile() |
Modifier and Type | Method and Description |
---|---|
void |
setUpTest() |
void |
tearDownTest() |
void |
testAttachFileLoggedIn()
Tests that the attachment page is able to be accessed when logged in (using default permission scheme)
|
void |
testAttachFileLoggedInWithoutPermission()
Tests that a user who is logged in but does not have create attachment permission cannot attach files
|
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
|
void |
testAttachFileLoggedOutWithAnonymousPermission()
Tests that the user can attach files anonymously if the anonymous 'create attachment' permission is enabled
|
void |
testAttachNoFileError() |
getAssertions, getBackdoor, getEnvironmentData, getTester
public void setUpTest()
public void tearDownTest()
public void testAttachFileLoggedIn()
public void testAttachNoFileError()
public void testAttachFileLoggedOutNoAnonymousPermission()
public void testAttachFileLoggedOutWithAnonymousPermission()
public void testAttachFileLoggedInWithoutPermission()
Copyright © 2002-2022 Atlassian. All Rights Reserved.