public class PageLabelsTest extends Object
Modifier and Type | Field and Description |
---|---|
static com.atlassian.confluence.test.stateless.rules.EnableAnonymousAccessRule |
anonymousAccess |
org.junit.rules.TestName |
testName |
Constructor and Description |
---|
PageLabelsTest() |
Modifier and Type | Method and Description |
---|---|
static void |
addLabels(Content page,
String... labels) |
static void |
addLabels(Content page,
com.atlassian.confluence.test.api.model.person.UserWithDetails user,
String... labels) |
void |
testAddLabelViewPage() |
void |
testAddMultipleLabels() |
void |
testAddMultipleLabelsFirstValidOthersInvalid() |
void |
testAddMultipleLabelsFirstValidOthersUnpermitted() |
void |
testAnonymousCanAddLabels() |
void |
testAnonymousCanCreateNewPageWithLabels() |
void |
testAnonymousCannotAddLabelsWithoutEditPermission() |
void |
testAutocompleteOnEditPage() |
void |
testAutocompleteOnViewPage() |
void |
testCanAddPersonalLabelsWithoutEditPermission() |
void |
testCopyPageAsAnonymousAlsoCopiesLabels() |
void |
testInsertUsingEnterOnEditPage() |
void |
testLabelAutocompleteDoesntRemoveExistingLabel() |
void |
testNoDuplicateLabels() |
void |
testRemoveLabelOnViewPage() |
void |
testUserWithSpecialCharsInUsernameAddPersonalAndGlobalLabels() |
public org.junit.rules.TestName testName
public static com.atlassian.confluence.test.stateless.rules.EnableAnonymousAccessRule anonymousAccess
public void testAddLabelViewPage() throws InterruptedException
InterruptedException
public void testRemoveLabelOnViewPage()
public void testAnonymousCannotAddLabelsWithoutEditPermission()
public void testNoDuplicateLabels()
public void testCanAddPersonalLabelsWithoutEditPermission()
public void testAddMultipleLabels()
public void testAnonymousCanAddLabels()
public void testAddMultipleLabelsFirstValidOthersUnpermitted()
public void testAddMultipleLabelsFirstValidOthersInvalid()
public void testUserWithSpecialCharsInUsernameAddPersonalAndGlobalLabels()
public void testAutocompleteOnViewPage()
public void testAutocompleteOnEditPage()
public void testInsertUsingEnterOnEditPage()
public void testLabelAutocompleteDoesntRemoveExistingLabel()
public void testAnonymousCanCreateNewPageWithLabels()
public void testCopyPageAsAnonymousAlsoCopiesLabels()
Copyright © 2003–2016 Atlassian. All rights reserved.