public class OpenIDServerTest extends CrowdIDServerAcceptanceTestCase
CrowdWebTestCase.GenericPage, CrowdWebTestCase.TestContext
Modifier and Type | Field and Description |
---|---|
protected static String |
CLIENT_NAME |
protected static String |
OPENID_CLIENT_LOGIN |
protected static String |
OPENID_SERVER_URL |
protected static String |
OPENIDSERVER_LOGIN_URL_ADMIN |
ADMIN_PW, baseUrl, CROWD_ADMIN_EMAIL_ADDRESS, CROWD_ADMIN_FULLNAME, CROWD_ADMIN_USER, CROWD_ADMINISTRATORS_GROUP, crowdBaseUrl, crowdConsole, crowdResourceBundle, specProperties
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 |
---|
OpenIDServerTest() |
getApplicationName, getLocalTestPropertiesFileName, getResourceBundleName
getBaseUrl, getCrowdHome, getCurrentlyLoggedInCrowdUserFullName, getTestProperty, intendToModifyData, loginToCrowd, loginToCrowd, logoutFromCrowd, restoreBaseSetup, restoreCrowdFromXML, tearDown, useApp, useCrowd, verifyGroupDoesNotExistInCrowd, verifyGroupDoesNotExistInCrowdWithCaseSensitiveName, verifyGroupExistsInCrowd, verifyUserDoesNotExistInCrowd, verifyUserExistsInCrowd
addRequestHeader, assertButtonNotPresent, assertCheckboxNotPresent, assertCheckboxNotSelected, assertCheckboxPresent, assertCheckboxSelected, assertElementIsDisabled, assertElementIsEnabled, assertElementNotPresent, assertElementNotPresentByXPath, assertElementPresent, assertElementPresentByXPath, assertErrorNotPresent, assertErrorPresent, assertErrorPresentWithKey, assertFieldErrorPresentWithKey, assertInfoPresent, assertKeyInElement, assertKeyNotPresent, assertKeyPresent, assertKeyPresent, assertKeyPresent, assertLinkNotPresent, assertLinkPresent, assertLinkPresentWithKey, assertMatchInTable, assertRadioOptionNotPresent, assertSelectedOptionEquals, assertSelectedOptionValueEquals, assertSelectOptionsEqual, assertSuccessPresent, assertTableNotPresent, assertTablePresent, assertTableRowCountEquals, assertTextFieldEquals, assertTextInElement, assertTextInTable, assertTextInTable, assertTextNotInTable, assertTextNotInTable, assertTextNotPresent, assertTextPresent, assertTitleEquals, assertTitleMatch, assertTitleNotEquals, assertWarningAndErrorNotPresent, assertWarningNotPresent, beginAt, checkCheckbox, checkCheckbox, clearCookies, clickButton, clickButtonWithText, clickElementByXPath, clickLink, clickLinkInNavbar, clickLinkWithExactText, clickLinkWithKey, clickLinkWithText, clickRadioOption, closeBrowser, disableIpAddressValidation, equalToIgnoringWhiteSpace, findElementWithText, getBaseUrlIPv6, getElementById, getElementByXPath, getElementsByXPath, getElementTextById, getElementTextByXPath, getElementValueByID, getFinder, getMessage, getMessage, getName, getPageSource, getPageText, getPoller, getRestAssuredCookies, getTable, getTestContext, getText, getTextForList, gotoPage, isElementWithIdPresent, isTextPresent, log, scrapeTable, scrapeTable, scrapeTable, selectOption, selectOption, selectOptionBy, selectOptionByValue, seleniumCookieToRestAssuredCookie, setRadioButton, setResourceBundleName, setTextField, setWorkingForm, setWorkingForm, submit, submit, uncheckCheckbox, waitForElementById, waitUntilPageLoad
assertAtRelativePath, assertAtURIContaining, assertAtURIEndingWith, assertAtUrl, assertHasError, assertHasErrorKey, bind, bind, clearAndInvalidateSsoCookieIfPresent, clearAndInvalidateSsoCookieOrFail, deleteAllCookies, deleteCookie, 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, waitForUrl, waitUntilAsyncFinished
protected static String OPENIDSERVER_LOGIN_URL_ADMIN
protected static String OPENID_CLIENT_LOGIN
protected static String OPENID_SERVER_URL
protected static final String CLIENT_NAME
public void setUp() throws Exception
setUp
in class ApplicationAcceptanceTestCase
Exception
public void headerUserInfoContainsFullName()
public void profile()
public void approvedSites()
public void loginHistory()
public void adminTrustRelationships()
public void internalOpenIDProfilePageShowsURLInEncodedFormat()
public void viewPublicProfilePageWithEncodedCharactersShowsOpenIdUrlInEncodedFormat()
public void editProfilesXsrfProtectionRejectsActionWithNoXsrfToken()
public void editProfilesSetDefaultProfileForUserIsCsrfProtected()
public void editProfilesCanSetNewDefaultProfileForUser()
public void rejectedAuthenticationRepeatsCorrectlyEncodedUsername()
public void footerShowsVersion()
public void editProfilesPageCorrectlyEscapesProfileNameToProtectAgainstPersistedXSS()
public void editProfilesPageIsNotVulnerableToReflectedXSS()
public void includeFilesAreNotDirectlyAccessible()
public void unableToViewProfileForAnotherUser()
public void unableToEditProfileForAnotherUser()
public void loginPageHasCsrfProtection() throws Exception
Exception
public void pathTraversalShouldBePrevented()
public void pathTraversalShouldBePreventedOnUsersEndpoint()
public void aboutPageAccessible()
Copyright © 2021 Atlassian. All rights reserved.