java.lang.Object
com.atlassian.crowd.acceptance.tests.applications.crowd.CrowdWebDriverTest
Direct Known Subclasses:
AbstractBetterSSOTest, AddApplicationTest, AddDirectoryTest, AddGroupWebdriverTest, AliasTest, ApplicationDirectoriesBrowserTest, ApplicationPluginPermissioningTest, ApplicationSSOConfigurationTest, ApplinksTest, ATSTPluginTest, AuditLogTest, AutoGroupAddApplicationTest, AzureAdGroupFilteringTest, BackupTest, BaseCsvImporterTest, BaseLegacyXmlRestoreTest, BetterSSOAppTests, BrowseApplicationsTest, BrowseDirectoriesTest, BrowseGroupsTest, BrowsePrincipalSessionsTest, BrowsePrincipalsTest, ChangeExpiredPasswordTest, ChangePasswordTest, ConsoleLoginTest, CreateAzureAdTest, CrowdAcceptanceTestCaseWithEmailServer, CrowdWebTestCase, CrowdXsrfProtectionTest, DelegatedDirectoryWithoutNestedGroupsTest, EditProfileTest, Error404PageTest, ExpireSessionTest, FailedFullSynchronizationStatusTest, GLATest, GroupAndUserPickerBaseTest, LicensingTestBase, LookAndFeelTest, MailServerTest, ModifyApplicationPermissionsTest, ModifyApplicationRemoteAddressesTest, OAuth2MailServerTest, PathTraversalTest, PruningConfigurationWebdriverTest, PruningE2eTest, RememberMeTest, RemoveApplicationTest, RemoveDirectoryTest, SessionConfigTest, SetupCrowdTestBase, SetupCrowdUsingXmlFileTest, SynchroniseDirectoryTest, UpdateConnectionPoolTest, ViewApplicationPluginTest, ViewDirectoryTest, ViewGroupLDAPTest, ViewGroupMembersTest, ViewGroupTest, ViewPrincipalTest, XWorkELClassloaderTest

public class CrowdWebDriverTest extends Object
  • Field Details

  • Constructor Details

    • CrowdWebDriverTest

      public CrowdWebDriverTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Throws:
      Exception
    • getTestkitClient

      public TestkitClient getTestkitClient()
    • getDriver

      protected org.openqa.selenium.WebDriver getDriver()
    • manage

      protected org.openqa.selenium.WebDriver.Options manage()
    • loginTestUser

      protected ViewProfilePage loginTestUser()
    • loginTestUser

      protected <T extends com.atlassian.pageobjects.Page> T loginTestUser(Class<T> targetPage, Object... args)
    • loginImmutableUser

      protected ViewProfilePage loginImmutableUser()
    • loginAsUser

      protected ViewProfilePage loginAsUser(String username, String password)
    • bind

      protected <T extends com.atlassian.pageobjects.Page> T bind(Class<T> page)
    • bind

      protected <T extends com.atlassian.pageobjects.Page> T bind(Class<T> page, Object... args)
    • loginAsSysAdminWithRememberMe

      protected <T extends com.atlassian.pageobjects.Page> T loginAsSysAdminWithRememberMe(Class<T> targetPage, Object... args)
    • loginAsSysAdmin

      protected <T extends com.atlassian.pageobjects.Page> T loginAsSysAdmin(Class<T> targetPage, Object... args)
    • loginAsSysAdmin

      protected CrowdConsole loginAsSysAdmin()
    • loginExpectingFailure

      protected CrowdLoginPage loginExpectingFailure(String username, String password)
    • deleteAllCookies

      protected void deleteAllCookies()
    • deleteCookie

      protected void deleteCookie(String cookieName)
    • getCurrentUrl

      protected String getCurrentUrl()
    • restoreCrowdFromXML

      public void restoreCrowdFromXML(String xmlfilename)
    • restoreCrowdFromXML

      public void restoreCrowdFromXML(String xmlfilename, boolean forceXmlRestore)
    • intendToModifyLdapData

      public void intendToModifyLdapData()
    • getBaseUrl

      public String getBaseUrl()
    • getBaseUrlWithoutPort

      public String getBaseUrlWithoutPort()
    • restoreBaseSetup

      public void restoreBaseSetup()
    • getCookie

      public Optional<org.openqa.selenium.Cookie> getCookie(String cookieName)
    • getCookieOrThrow

      public org.openqa.selenium.Cookie getCookieOrThrow(String cookieName)
    • assertAtURIEndingWith

      protected void assertAtURIEndingWith(String uri)
    • assertAtURIContaining

      protected void assertAtURIContaining(String uri)
    • assertAtUrl

      protected void assertAtUrl(String url)
    • assertAtRelativePath

      public void assertAtRelativePath(String relativePath)
    • assertHasError

      protected void assertHasError(AbstractCrowdPage page, String message)
    • assertHasErrorKey

      protected void assertHasErrorKey(AbstractCrowdPage page, String messageKey)
    • logout

      protected void logout()
    • loginImmutableUser

      protected <T extends com.atlassian.pageobjects.Page> T loginImmutableUser(Class<T> targetPage, Object... args)
    • loginAsExpiredPasswordUser

      protected ChangeExpiredPasswordPage loginAsExpiredPasswordUser(String username, String password)
    • loginAsNonAdmin

      protected <T extends com.atlassian.pageobjects.Page> T loginAsNonAdmin(String username, String password, Class<T> targetPage, Object... args)
    • loginAsNonAdmin

      protected ViewProfilePage loginAsNonAdmin(String username, String password)
    • waitForUrl

      protected void waitForUrl(org.hamcrest.Matcher<String> url)
    • clearAndInvalidateSsoCookieIfPresent

      protected void clearAndInvalidateSsoCookieIfPresent()
    • clearAndInvalidateSsoCookieOrFail

      protected void clearAndInvalidateSsoCookieOrFail()
    • getSsoCookieOrFail

      protected String getSsoCookieOrFail()
    • hasSsoCookie

      protected boolean hasSsoCookie()
    • hasCookie

      protected boolean hasCookie(String cookieName)
    • waitUntilAsyncFinished

      protected void waitUntilAsyncFinished()
    • expectState

      protected void expectState(ApplicationState state)