public class RemoveUserAcceptanceTest extends AbstractConfluenceAcceptanceTest
confluenceAdministrator, DASHBOARD_RECENT_UPDATES_REST_URL, DASHBOARD_RECENT_UPDATES_URL, log, logAdjuster, rpc, systemAdministrator, 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 |
|---|
RemoveUserAcceptanceTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setUp()
Default setUp method.
|
void |
testCannotRemoveAlreadyDeletedUserInUnsyncedScreen() |
void |
testCannotRemoveNormalUserInUnsyncedScreen() |
void |
testOnlyExpectedClassesNotExported()
This test is in place to make sure that every new class that doesn't get exported as a part of site backups (i.e.
|
void |
testRemoveCorrectUnsyncedUserWhenMultipleUnsyncedWithSameUsername() |
void |
testRemoveInternalUser()
Tests that a user from an internal directory is removed in a GDPR compliant way by checking a site export for any
PII.
|
void |
testRemoveInternalUserUI()
Makes some _very_ basic checks about the UI when removing an internal user.
|
void |
testRemoveUnsyncedUser()
Tests that a unsynced user is removed in a GDPR compliant way by checking a site export for any PII.
|
void |
testRemoveUnsyncedUserFormValidationForEmptyUserKey() |
void |
testRemoveUnsyncedUserFormValidationForGarbageUserKey() |
void |
testRemoveUnsyncedUserFormValidationForNoUserKey() |
void |
testRemoveUnsyncedUserFrontendValidation() |
void |
testRemoveUnsyncedUserNotActiveUserWithSameUsername() |
adminConsole, attachments, baseUrlSelector, createAdminUsers, createSpaceViaWebUI, createTestSpaceViaWebUI, createTestUser, darkFeatures, directoryConfig, disableBatchingDarkFeature, enableBatchingDarkFeature, enableBatchingTrigger, generateFile, getAppContext, getBaseUrl, getConfiguredBaseUrl, getPluginHelper, getServerStateManager, getTestDescription, goToBlogCollector, logins, logout, logTestStart, pages, pauseAndFlushIndexQueue, plugins, rebuildIndex, substituteForNodeBaseUrl, tearDown, users, viewHomepage, viewSpaceAdmin, viewSpacePermissions, viewSpaceSummary, viewSpaceTools, viewTrash, watchSpace, webAppContextPathrunBare, setExceptionTransformerassertEquals, 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, toStringprotected void setUp()
throws Exception
AbstractConfluenceAcceptanceTestsetUp in class AbstractConfluenceAcceptanceTestException - from superpublic void testOnlyExpectedClassesNotExported()
throws Exception
NotExportable) has the necessary test coverage to maintain GDPR compliance.
Add any additional classes to the list of expected not exportable classes below and implement any required tests.
Exceptionpublic void testRemoveCorrectUnsyncedUserWhenMultipleUnsyncedWithSameUsername()
throws Exception
Exceptionpublic void testRemoveUnsyncedUserNotActiveUserWithSameUsername()
throws Exception
Exceptionpublic void testRemoveInternalUser()
throws Exception
Any instances of PII that aren't whitelisted above as part of knownPIIOccurrences (core) or pluginTablesWithKnownPIIOccurrences (plugin data) will cause the test to fail.
Exceptionpublic void testRemoveInternalUserUI()
public void testRemoveUnsyncedUser()
throws Exception
Any instances of PII that aren't whitelisted above as part of knownPIIOccurrences (core) or pluginTablesWithKnownPIIOccurrences (plugin data) will cause the test to fail.
Exceptionpublic void testRemoveUnsyncedUserFrontendValidation()
public void testRemoveUnsyncedUserFormValidationForEmptyUserKey()
public void testRemoveUnsyncedUserFormValidationForNoUserKey()
public void testRemoveUnsyncedUserFormValidationForGarbageUserKey()
public void testCannotRemoveNormalUserInUnsyncedScreen()
public void testCannotRemoveAlreadyDeletedUserInUnsyncedScreen()
Copyright © 2003–2019 Atlassian. All rights reserved.