Class GeneralOptionsPage
java.lang.Object
com.atlassian.crowd.pageobjects.AbstractCrowdPage
com.atlassian.crowd.pageobjects.administration.GeneralOptionsPage
- All Implemented Interfaces:
CrowdPage,com.atlassian.pageobjects.Page
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.atlassian.aui.auipageobjects.AuiCheckboxprotected com.atlassian.pageobjects.elements.PageElementprotected com.atlassian.pageobjects.elements.PageElementprotected com.atlassian.aui.auipageobjects.AuiCheckboxprotected com.atlassian.pageobjects.elements.PageElementprotected SystemAdminSidebarMenuprotected com.atlassian.pageobjects.elements.PageElementFields inherited from class com.atlassian.crowd.pageobjects.AbstractCrowdPage
adminMenuGeneralOption, adminMenuIcon, auiMessages, DEFAULT_CANCEL_BUTTON_ID, DEFAULT_FORM_FIELD_SELECTOR, DEFAULT_SUBMIT_BUTTON_SELECTOR, driver, finder, footer, forgedLicenseWarningBanner, I18N, NEXT_BUTTON_SELECTOR, pageBinder, selectedTopNavMenuItem, systemAdminMenu, TABLE_ROWS_SELECTOR, topNavApplicationsOption, topNavAuditLogOption, topNavDirectoriesOption, topNavGroupsOption, topNavigationBar, topNavigationBarItemsList, topNavUsersOption, VALUE_DATA_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTitle()getUrl()voidinit()booleanprotected booleanReturns whether the content has loaded.booleansetAuthorisationCachingEnabled(boolean value) setBaseUrl(String value) setBaseUrlAndSubmit(String baseUrl) Sets the base URL and submits the form in one operation.setSecureSsoCookieEnabled(boolean value) submit()Submits the general options form.Methods inherited from class com.atlassian.crowd.pageobjects.AbstractCrowdPage
bindAndWaitUntilPageLoad, clickAdminMenuIcon, clickApplicationsLinkInTopNavMenu, clickGeneralOptionInAdminMenu, clickWithJsById, executeJavascript, getAuiMessages, getForgedLicenseWarningBanner, getHeader, getJsExecutor, getPageLoadTimeout, getSelectedTopNavMenuItemID, getSelectedTopNavMenuItems, getSystemAdminDropdownMenu, initializeSystemAdminMenu, isSystemAdminDropdownMenuPresent, reloadWithoutWaitingForContent, selectOptionById, selectOptionByLabel, setTextField, setTextFieldValueAndPressEnter, toMillis, waitUntilAsyncFinished, waitUntilAsyncFinished, waitUntilContentLoaded, waitUntilPageLoad
-
Field Details
-
title
protected com.atlassian.pageobjects.elements.PageElement title -
domain
protected com.atlassian.pageobjects.elements.PageElement domain -
authorisationCachingEnabled
protected com.atlassian.aui.auipageobjects.AuiCheckbox authorisationCachingEnabled -
secureSsoCookieEnabled
protected com.atlassian.aui.auipageobjects.AuiCheckbox secureSsoCookieEnabled -
baseUrl
protected com.atlassian.pageobjects.elements.PageElement baseUrl -
submitButton
protected com.atlassian.pageobjects.elements.PageElement submitButton -
systemAdminSidebarMenu
-
-
Constructor Details
-
GeneralOptionsPage
public GeneralOptionsPage()
-
-
Method Details
-
init
public void init() -
getTitle
-
setTitle
-
getDomain
-
setDomain
-
isAuthorisationCachingEnabled
public boolean isAuthorisationCachingEnabled() -
setAuthorisationCachingEnabled
-
isSecureSsoCookieEnabled
public boolean isSecureSsoCookieEnabled() -
setSecureSsoCookieEnabled
-
getBaseUrl
-
setBaseUrl
-
submit
Submits the general options form.- Returns:
- this page object, reloaded after form submission
-
setBaseUrlAndSubmit
Sets the base URL and submits the form in one operation.- Parameters:
baseUrl- the base URL to set- Returns:
- this page object, reloaded after form submission
-
isContentLoaded
protected boolean isContentLoaded()Description copied from class:AbstractCrowdPageReturns whether the content has loaded. Used inAbstractCrowdPage.waitUntilContentLoaded(). Subclasses should override this method to wait for a distinguishing content to appear. E.g. a page title.- Overrides:
isContentLoadedin classAbstractCrowdPage
-
getUrl
-
getSystemAdminMenu
-