Package org.xwiki.image.style.test.po
Class ImageStyleAdministrationPage
java.lang.Object
org.xwiki.test.ui.po.BaseElement
org.xwiki.test.ui.po.BasePage
org.xwiki.test.ui.po.ViewPage
org.xwiki.image.style.test.po.ImageStyleAdministrationPage
Page object of the image style administration.
- Since:
- 14.3RC1
- Version:
- $Id: c0a0f15fefe91e2bdbfacbf4fb5f93c6bf3b54a1 $
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ImageStyleAdministrationPagegetToAdminPage(org.xwiki.model.reference.WikiReference wikiReference) voidsubmitDefaultStyleForm(String identifier) Select the identifier of the default image style and save it.submitNewImageStyleForm(String identifier) Create a configuration form from an identifier.Methods inherited from class org.xwiki.test.ui.po.ViewPage
clickBreadcrumbLink, clickWantedLink, clickWantedLink, contentContainsElement, editSection, exists, getBreadcrumb, getBreadcrumbContent, getContent, getLastModifiedText, getPageBackgroundColor, getTitleColor, getTitleFontFamily, getTranslateButton, hasBreadcrumbContent, hasBreadcrumbContent, hasTranslateButton, isInlinePage, openCommentsDocExtraPane, openHistoryDocExtraPane, openInformationDocExtraPane, scrollToTop, useShortcutForDocExtraPane, useShortcutKeyForCommentPane, useShortcutKeyForHistoryPane, useShortcutKeyForInformationPane, waitForDocExtraPaneActive, waitUntilContentMethods inherited from class org.xwiki.test.ui.po.BasePage
canDelete, clickAdminActionsSubMenuEntry, clickEditSubMenuEntry, clickLocale, clickMoreActionsSubMenuEntry, copy, createInlinePage, createPage, delete, deletePage, edit, editClass, editInline, editObjects, editRights, editWiki, editWYSIWYG, getCurrentUser, getDocumentTitle, getDrawerMenu, getEditURL, getErrorContent, getHTMLMetaDataValue, getLocales, getMetaDataValue, getPageTitle, getPageURL, getXWikiMessageContent, hasLeftPanel, hasLoginLink, hasNotificationsMenu, hasRenderingError, isAuthenticated, isForbidden, isNewDocument, isNotificationsMenuOpen, login, logout, register, reloadPage, rename, sendKeys, toggleActionMenu, toggleNotificationsMenu, useShortcutKeyForClassEditing, useShortcutKeyForEditing, useShortcutKeyForInlineEditing, useShortcutKeyForObjectEditing, useShortcutKeyForPageDeletion, useShortcutKeyForPageRenaming, useShortcutKeyForRightsEditing, useShortcutKeyForSourceViewer, useShortcutKeyForWikiEditing, useShortcutKeyForWysiwygEditing, validateWCAG, validateWCAG, validateWCAG, viewChildren, watchDocument, watchSpace, watchWikiMethods inherited from class org.xwiki.test.ui.po.BaseElement
getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageIsReady
-
Constructor Details
-
ImageStyleAdministrationPage
public ImageStyleAdministrationPage()
-
-
Method Details
-
getToAdminPage
public static ImageStyleAdministrationPage getToAdminPage(org.xwiki.model.reference.WikiReference wikiReference) - Parameters:
wikiReference- the reference of the wiki containing the admin to access- Returns:
- the page object for the administration of the image styles
-
submitNewImageStyleForm
Create a configuration form from an identifier.- Parameters:
identifier- the identifier (e.g., "frameless")- Returns:
- the page object of the image style configuration form
-
submitDefaultStyleForm
Select the identifier of the default image style and save it.- Parameters:
identifier- the identifier of the default image style
-
getDefaultStyle
- Returns:
- the value of the current default style
-