public class ChangeEmailAcceptanceTest extends CrowdAcceptanceTestCaseWithEmailServer
mailServerRule
BACKUP_RESOURCE, BATCHED_TEST_RULE, COOKIE_ABSENT, i18n, IMMUTABLE_USER_NAME, IMMUTABLE_USER_PW, JSESSIONID_COOKIE, log, REMEMBER_ME_COOKIE, restAdminClient, SSO_COOKIE, TEST_USER_DISPLAYNAME, TEST_USER_NAME, TEST_USER_PW, testedProduct, testkitClient, webDriverRules
Constructor and Description |
---|
ChangeEmailAcceptanceTest() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
void |
shouldAbortPendingEmailChange() |
void |
shouldNotChangeEmailIfInvalidToken() |
void |
shouldNotChangeEmailIfTokenWithLinkUsedByDifferentUser() |
void |
shouldNotShowEmailChangeFeatureEntryPointsIfDisabled() |
void |
shouldRedirectToMyProfileWhenTryingToAccessChangeEmailPageWhenFeatureIsDisabled() |
void |
shouldResendEmailWithNewTokenAndSuccessfullyChangeEmailWithNewToken() |
void |
shouldShowErrorIfInvalidNewEmail() |
void |
shouldShowErrorIfInvalidPassword() |
void |
shouldShowErrorIfNewEmailIsSameAsOldOne() |
void |
shouldSuccessfullyChangeEmail() |
configureMailServer, getEmailAddress, waitForExactlyOneMessage
assertAtRelativePath, assertAtURIContaining, assertAtURIEndingWith, assertAtUrl, assertHasError, assertHasErrorKey, bind, bind, clearAndInvalidateSsoCookieIfPresent, clearAndInvalidateSsoCookieOrFail, deleteAllCookies, deleteCookie, expectState, getBaseUrl, getBaseUrlWithoutPort, getCookie, getCookieOrThrow, getCurrentUrl, getDriver, getSsoCookieOrFail, getTestkitClient, hasCookie, hasSsoCookie, intendToModifyData, intendToModifyLdapData, loginAsExpiredPasswordUser, loginAsNonAdmin, loginAsNonAdmin, loginAsSysAdmin, loginAsSysAdmin, loginAsSysAdminWithRememberMe, loginAsUser, loginExpectingFailure, loginImmutableUser, loginImmutableUser, loginTestUser, loginTestUser, logout, manage, navigateToAndBind, navigateToUrl, restoreBaseSetup, restoreCrowdFromXML, waitForUrl, waitUntilAsyncFinished
public void setUp() throws Exception
setUp
in class CrowdAcceptanceTestCaseWithEmailServer
Exception
public void shouldSuccessfullyChangeEmail() throws Exception
Exception
public void shouldNotChangeEmailIfInvalidToken() throws Exception
Exception
public void shouldNotChangeEmailIfTokenWithLinkUsedByDifferentUser() throws Exception
Exception
public void shouldShowErrorIfInvalidPassword()
public void shouldShowErrorIfInvalidNewEmail()
public void shouldShowErrorIfNewEmailIsSameAsOldOne()
public void shouldAbortPendingEmailChange()
public void shouldResendEmailWithNewTokenAndSuccessfullyChangeEmailWithNewToken() throws Exception
Exception
public void shouldNotShowEmailChangeFeatureEntryPointsIfDisabled()
public void shouldRedirectToMyProfileWhenTryingToAccessChangeEmailPageWhenFeatureIsDisabled()
Copyright © 2021 Atlassian. All rights reserved.