public class PeopleDirectoryAcceptanceTest extends AbstractConfluenceAcceptanceTest
DASHBOARD_RECENT_UPDATES_REST_URL, DASHBOARD_RECENT_UPDATES_URL, log, logAdjuster, ONBOARDING_PLUGIN, rpc, TEST_ADMIN, TEST_BLOG, TEST_COMMENT, TEST_GROUP1, TEST_GROUP2, TEST_PAGE, TEST_SPACE, TEST_SPACE2, TEST_USER1, TEST_USER2, TESTBLOG_CONTENT, TESTBLOG_TITLE, testData, TESTPAGE_COMMENT, TESTPAGE_CONTENT, TESTPAGE_TITLE, TESTSPACE_KEY, TESTSPACE_TITLE, TESTSPACE2_KEY, TESTSPACE2_TITLE, webTester, wikiMarkupRpc
Constructor and Description |
---|
PeopleDirectoryAcceptanceTest() |
Modifier and Type | Method and Description |
---|---|
void |
testBigTestOfOrderingFullNames() |
void |
testBrowsePeopleContainsUsers() |
void |
testDifferentLinkIDsforMenuAndDashboardPeopleDirectory() |
void |
testFullnameEscapedInUserLinkPopup() |
void |
testFullnameIsEscaped() |
void |
testOneItemDisplayedPerUser() |
void |
testOrderOfMixedCaseNames() |
void |
testOrderOfNames()
Commented out as CONF-7771 fix is rolled back
See also: CONF-16477
public void testDeactivatedUsersDontAppear() throws Exception
{
logInAs(User.ADMIN);
createTestUsers(1);
rpcFlushIndexQueue();
viewPeopleDirectory();
assertLinkPresentWithText("Test User 1");
removeUserFromGroupViaHelper("testuser1", TestProperties.DEFAULT_USERS_GROUP);
viewPeopleDirectory();
assertLinkNotPresentWithText("Test User 1");
}
|
void |
testOrderOfNamesWithSpaces() |
void |
testPeopleDirectoryDisabledByPermissions()
Ensure that the anonymous user sees no people directory (even with no flags set) if it does not have the correct
permission
|
void |
testPeopleDirectoryDisabledFlags() |
void |
testPeopleDirectoryDoesntShowExtraFields() |
void |
testPeopleDirectoryPaging() |
void |
testPeopleDirectoryUrlsProtectedByPermission()
CONF-14563 and CONF-14562 Make sure you can't go directly to the people directory action when you don't have the
permission.
|
void |
testSearchUsers() |
void |
testThatTestUserWithFavouriteSpaceIsNotMarkedAsFavourite() |
void |
testUserWithAmpersand() |
void |
testUserWithEditedProfileIsFindable() |
void |
testUserWithPersonalSpaceIsFindable() |
void |
testUserWithProfileConvertedToPersonalSpaceOccursOnce() |
void |
testViewUsersWithPersonalSpaces() |
adminConsole, attachments, baseUrlSelector, createSpaceViaWebUI, createTestSpaceViaWebUI, createTestUser, darkFeatures, directoryConfig, disableBatchingDarkFeature, enableBatchingDarkFeature, enableBatchingTrigger, generateFile, getAppContext, getBaseUrl, getConfiguredBaseUrl, getPluginHelper, getServerStateManager, getTestDescription, goToBlogCollector, logins, logout, logTestStart, pages, pauseAndFlushIndexQueue, plugins, rebuildIndex, setUp, substituteForNodeBaseUrl, tearDown, users, viewHomepage, viewSpaceAdmin, viewSpacePermissions, viewSpaceSummary, viewSpaceTools, viewTrash, watchSpace, webAppContextPath
runBare, setExceptionTransformer
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runTest, setName, toString
public void testPeopleDirectoryPaging() throws Exception
Exception
public void testUserWithEditedProfileIsFindable() throws Exception
Exception
public void testUserWithPersonalSpaceIsFindable() throws Exception
Exception
public void testUserWithProfileConvertedToPersonalSpaceOccursOnce() throws Exception
Exception
public void testBrowsePeopleContainsUsers() throws Exception
Exception
public void testViewUsersWithPersonalSpaces() throws Exception
Exception
public void testThatTestUserWithFavouriteSpaceIsNotMarkedAsFavourite() throws Exception
Exception
public void testOrderOfNames()
public void testOrderOfMixedCaseNames()
public void testOrderOfNamesWithSpaces()
public void testBigTestOfOrderingFullNames()
public void testPeopleDirectoryDisabledFlags()
public void testPeopleDirectoryDisabledByPermissions()
public void testDifferentLinkIDsforMenuAndDashboardPeopleDirectory()
public void testPeopleDirectoryUrlsProtectedByPermission()
public void testOneItemDisplayedPerUser()
public void testUserWithAmpersand()
public void testFullnameIsEscaped()
public void testFullnameEscapedInUserLinkPopup()
public void testPeopleDirectoryDoesntShowExtraFields()
Copyright © 2003–2017 Atlassian. All rights reserved.