Class ConsoleLoginTest
java.lang.Object
com.atlassian.crowd.acceptance.tests.applications.crowd.CrowdWebDriverTest
com.atlassian.crowd.acceptance.tests.applications.crowd.ConsoleLoginTest
Authentication tests for the Crowd Console.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
com.atlassian.testutils.rules.RunConditionallyRule
static final String
static final String
Fields inherited from class com.atlassian.crowd.acceptance.tests.applications.crowd.CrowdWebDriverTest
applinksClient, 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 Summary
-
Method Summary
Methods inherited from class com.atlassian.crowd.acceptance.tests.applications.crowd.CrowdWebDriverTest
assertAtRelativePath, assertAtURIContaining, assertAtURIEndingWith, assertAtUrl, assertHasError, assertHasErrorKey, bind, bind, clearAndInvalidateSsoCookieIfPresent, clearAndInvalidateSsoCookieOrFail, deleteAllCookies, deleteCookie, expectState, getBaseUrl, getBaseUrlWithoutPort, getCookie, getCookieOrThrow, getCurrentUrl, getDriver, getSsoCookieOrFail, getTestkitClient, hasCookie, hasSsoCookie, intendToModifyLdapData, loginAsExpiredPasswordUser, loginAsNonAdmin, loginAsNonAdmin, loginAsSysAdmin, loginAsSysAdmin, loginAsSysAdminWithRememberMe, loginAsUser, loginExpectingFailure, loginImmutableUser, loginImmutableUser, loginTestUser, loginTestUser, logout, manage, navigateToAndBind, navigateToUrl, restoreBaseSetup, restoreCrowdFromXML, restoreCrowdFromXML, waitForUrl, waitUntilAsyncFinished
-
Field Details
-
LOGIN_FAILED_MESSAGE_LOG_IN_BY_EMAIL_ENABLED
- See Also:
-
LOGIN_FAILED_MESSAGE
- See Also:
-
USERNAME_LABEL
- See Also:
-
USERNAME_LABEL_LOG_IN_BY_EMAIL_ENABLED
- See Also:
-
runConditionallyRule
public com.atlassian.testutils.rules.RunConditionallyRule runConditionallyRule
-
-
Constructor Details
-
ConsoleLoginTest
public ConsoleLoginTest()
-
-
Method Details
-
setUp
- Overrides:
setUp
in classCrowdWebDriverTest
- Throws:
Exception
-
systemAdminMenuNotVisibleInitially
public void systemAdminMenuNotVisibleInitially() -
consoleAdminLoginSuccessful
public void consoleAdminLoginSuccessful() -
restEndpointShouldBeAccessibleBySSOToken
public void restEndpointShouldBeAccessibleBySSOToken() -
consoleUserLoginSuccessful
public void consoleUserLoginSuccessful() -
getExpectedLoginFailedErrorMessage
-
consoleLoginWithBadCredentials
public void consoleLoginWithBadCredentials() -
consoleLoginWithNonExistentUser
public void consoleLoginWithNonExistentUser() -
consoleLoginWithNoAuthenticationAccess
public void consoleLoginWithNoAuthenticationAccess() -
consoleLoginWithInactiveUser
public void consoleLoginWithInactiveUser() -
consoleLoginWhenAlreadyLoggedIn
public void consoleLoginWhenAlreadyLoggedIn() -
shouldSetRememberMeCookieWhenRequested
public void shouldSetRememberMeCookieWhenRequested() -
shouldBeLoggedInWithRememberMeCookie
public void shouldBeLoggedInWithRememberMeCookie() -
shouldLogOutUsingRememberMeCookieWhenSSOCookieMissing
public void shouldLogOutUsingRememberMeCookieWhenSSOCookieMissing() -
consoleLogoutSuccessful
public void consoleLogoutSuccessful() -
consoleLogoutWhenNotLoggedIn
public void consoleLogoutWhenNotLoggedIn() -
consoleLoginInterceptor
public void consoleLoginInterceptor() -
consoleAccessDenied
public void consoleAccessDenied() -
shouldRedirectEachTabToItsOriginalLocation
public void shouldRedirectEachTabToItsOriginalLocation() -
shouldPreserveQueryParameters
public void shouldPreserveQueryParameters() -
shouldPreserveEncryptedQueryParameters
- Throws:
Exception
-
shouldPreserveEncryptedQueryParametersWithSpecialCharacters
- Throws:
Exception
-
shouldNotAllowForOpenRedirect
public void shouldNotAllowForOpenRedirect() -
shouldNotAllowForCRLFAttack
public void shouldNotAllowForCRLFAttack() -
postMethodShouldRedirectToRefererUrlAfterLogin
public void postMethodShouldRedirectToRefererUrlAfterLogin() -
shouldAllowLoginByEmail
public void shouldAllowLoginByEmail() -
shouldDifferentiateLoginFormDependingOnWhetherLoginByEmailIsEnabledOrNot
public void shouldDifferentiateLoginFormDependingOnWhetherLoginByEmailIsEnabledOrNot()
-