public class ConsoleLoginTest extends CrowdWebDriverTest
Modifier and Type | Field and Description |
---|---|
static String |
LOGIN_FAILED_MESSAGE |
static String |
LOGIN_FAILED_MESSAGE_LOG_IN_BY_EMAIL_ENABLED |
com.atlassian.testutils.rules.RunConditionallyRule |
runConditionallyRule |
static String |
USERNAME_LABEL |
static String |
USERNAME_LABEL_LOG_IN_BY_EMAIL_ENABLED |
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 |
---|
ConsoleLoginTest() |
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
public static final String LOGIN_FAILED_MESSAGE_LOG_IN_BY_EMAIL_ENABLED
public static final String LOGIN_FAILED_MESSAGE
public static final String USERNAME_LABEL
public static final String USERNAME_LABEL_LOG_IN_BY_EMAIL_ENABLED
public com.atlassian.testutils.rules.RunConditionallyRule runConditionallyRule
public void setUp() throws Exception
setUp
in class CrowdWebDriverTest
Exception
public void systemAdminMenuNotVisibleInitially()
public void consoleAdminLoginSuccessful()
public void restEndpointShouldBeAccessibleBySSOToken()
public void consoleUserLoginSuccessful()
public static String getExpectedLoginFailedErrorMessage()
public void consoleLoginWithBadCredentials()
public void consoleLoginWithNonExistentUser()
public void consoleLoginWithNoAuthenticationAccess()
public void consoleLoginWithInactiveUser()
public void consoleLoginWhenAlreadyLoggedIn()
public void shouldSetRememberMeCookieWhenRequested()
public void shouldBeLoggedInWithRememberMeCookie()
public void shouldLogOutUsingRememberMeCookieWhenSSOCookieMissing()
public void consoleLogoutSuccessful()
public void consoleLogoutWhenNotLoggedIn()
public void consoleLoginInterceptor()
public void consoleAccessDenied()
public void shouldRedirectEachTabToItsOriginalLocation()
public void shouldPreserveQueryParameters()
public void shouldPreserveEncryptedQueryParameters() throws Exception
Exception
public void shouldPreserveEncryptedQueryParametersWithSpecialCharacters() throws Exception
Exception
public void shouldNotAllowForOpenRedirect()
public void shouldNotAllowForCRLFAttack()
public void postMethodShouldRedirectToRefererUrlAfterLogin()
public void shouldAllowLoginByEmail()
public void shouldDifferentiateLoginFormDependingOnWhetherLoginByEmailIsEnabledOrNot()
Copyright © 2024 Atlassian. All rights reserved.