public class AdministrationSectionPage extends ViewPage
Constructor and Description |
---|
AdministrationSectionPage(String section) |
Modifier and Type | Method and Description |
---|---|
void |
clickSave() |
void |
clickSave(boolean wait) |
FormContainerElement |
getFormContainerElement()
Deprecated.
this method can be ambiguous since an administration section page might contain several forms.
The method
getFormContainerElement(String) should be used instead. |
FormContainerElement |
getFormContainerElement(String formId) |
FormContainerElement |
getFormContainerElementForClass(String documentClass) |
String |
getURL() |
static String |
getURL(String section) |
static String |
getURL(String section,
org.xwiki.model.reference.SpaceReference spaceReference) |
static AdministrationSectionPage |
gotoPage(String section) |
static AdministrationSectionPage |
gotoSpaceAdministration(org.xwiki.model.reference.SpaceReference spaceReference,
String section)
Go to the administration section of a given space reference.
|
boolean |
hasHeading(int level,
String headingId) |
boolean |
hasLink(String linkName) |
void |
waitUntilActionButtonIsLoaded()
If save button is present wait the action button js to be loaded.
|
clickBreadcrumbLink, clickWantedLink, clickWantedLink, contentContainsElement, editSection, exists, getBreadcrumb, getBreadcrumbContent, getContent, getPageBackgroundColor, getTitleColor, getTitleFontFamily, getTranslateButton, hasBreadcrumbContent, hasBreadcrumbContent, hasTranslateButton, isInlinePage, openAttachmentsDocExtraPane, openCommentsDocExtraPane, openHistoryDocExtraPane, openInformationDocExtraPane, scrollToTop, useShortcutKeyForAttachmentPane, useShortcutKeyForCommentPane, useShortcutKeyForHistoryPane, useShortcutKeyForInformationPane, waitForDocExtraPaneActive, waitUntilContent
canDelete, clickAdminActionsSubMenuEntry, clickEditSubMenuEntry, clickLocale, clickMoreActionsSubMenuEntry, copy, createInlinePage, createPage, delete, deletePage, edit, editClass, editInline, editObjects, editRights, editWiki, editWYSIWYG, getCurrentUser, getDocumentTitle, getEditURL, getErrorContent, getHTMLMetaDataValue, getLocales, getMetaDataValue, getPageTitle, getPageURL, hasLeftPanel, hasLoginLink, hasNotificationsMenu, hideDrawer, isAuthenticated, isDrawerVisible, isForbidden, isNewDocument, isNotificationsMenuOpen, login, logout, register, rename, sendKeys, showDrawer, toggleActionMenu, toggleDrawer, toggleNotificationsMenu, useShortcutKeyForClassEditing, useShortcutKeyForEditing, useShortcutKeyForInlineEditing, useShortcutKeyForObjectEditing, useShortcutKeyForPageDeletion, useShortcutKeyForPageRenaming, useShortcutKeyForRightsEditing, useShortcutKeyForSourceViewer, useShortcutKeyForWikiEditing, useShortcutKeyForWysiwygEditing, viewChildren, waitUntilPageIsLoaded, watchDocument, watchSpace, watchWiki
getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageJSIsLoaded
public AdministrationSectionPage(String section)
public static AdministrationSectionPage gotoPage(String section)
public static AdministrationSectionPage gotoSpaceAdministration(org.xwiki.model.reference.SpaceReference spaceReference, String section)
public static String getURL(String section)
section
- the section IDAdministrationSectionPage
instancepublic static String getURL(String section, org.xwiki.model.reference.SpaceReference spaceReference)
section
- the section IDspaceReference
- the space where we want to get the admin pageAdministrationSectionPage
instancepublic String getURL()
public void clickSave()
public void clickSave(boolean wait)
@Deprecated public FormContainerElement getFormContainerElement()
getFormContainerElement(String)
should be used instead.public FormContainerElement getFormContainerElement(String formId)
formId
- ID of the form to reach.public FormContainerElement getFormContainerElementForClass(String documentClass)
documentClass
- the class name for which we want the dedicated form.public boolean hasLink(String linkName)
public boolean hasHeading(int level, String headingId)
public void waitUntilActionButtonIsLoaded()
Copyright © 2004–2021 XWiki. All rights reserved.