java.lang.Object
com.atlassian.crowd.acceptance.tests.applications.crowd.CrowdWebDriverTest
com.atlassian.crowd.acceptance.tests.applications.crowd.ConsoleLoginTest

public class ConsoleLoginTest extends CrowdWebDriverTest
Authentication tests for the Crowd Console.
  • Field Details

    • LOGIN_FAILED_MESSAGE_LOG_IN_BY_EMAIL_ENABLED

      public static final String LOGIN_FAILED_MESSAGE_LOG_IN_BY_EMAIL_ENABLED
      See Also:
    • LOGIN_FAILED_MESSAGE

      public static final String LOGIN_FAILED_MESSAGE
      See Also:
    • USERNAME_LABEL

      public static final String USERNAME_LABEL
      See Also:
    • USERNAME_LABEL_LOG_IN_BY_EMAIL_ENABLED

      public static final String 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

      public void setUp() throws Exception
      Overrides:
      setUp in class CrowdWebDriverTest
      Throws:
      Exception
    • systemAdminMenuNotVisibleInitially

      public void systemAdminMenuNotVisibleInitially()
    • consoleAdminLoginSuccessful

      public void consoleAdminLoginSuccessful()
    • restEndpointShouldBeAccessibleBySSOToken

      public void restEndpointShouldBeAccessibleBySSOToken()
    • consoleUserLoginSuccessful

      public void consoleUserLoginSuccessful()
    • getExpectedLoginFailedErrorMessage

      public static String 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

      public void shouldPreserveEncryptedQueryParameters() throws Exception
      Throws:
      Exception
    • shouldPreserveEncryptedQueryParametersWithSpecialCharacters

      public void shouldPreserveEncryptedQueryParametersWithSpecialCharacters() throws Exception
      Throws:
      Exception
    • shouldNotAllowForOpenRedirect

      public void shouldNotAllowForOpenRedirect()
    • shouldNotAllowForCRLFAttack

      public void shouldNotAllowForCRLFAttack()
    • postMethodShouldRedirectToRefererUrlAfterLogin

      public void postMethodShouldRedirectToRefererUrlAfterLogin()
    • shouldAllowLoginByEmail

      public void shouldAllowLoginByEmail()
    • shouldDifferentiateLoginFormDependingOnWhetherLoginByEmailIsEnabledOrNot

      public void shouldDifferentiateLoginFormDependingOnWhetherLoginByEmailIsEnabledOrNot()