Package org.xwiki.test.ui.po.editor
Class WYSIWYGEditPage
- java.lang.Object
-
- org.xwiki.test.ui.po.BaseElement
-
- org.xwiki.test.ui.po.BasePage
-
- org.xwiki.test.ui.po.editor.EditPage
-
- org.xwiki.test.ui.po.editor.PreviewableEditPage
-
- org.xwiki.test.ui.po.editor.WYSIWYGEditPage
-
public class WYSIWYGEditPage extends PreviewableEditPage
Represents the actions possible in WYSIWYG edit mode.- Since:
- 3.2M3
- Version:
- $Id: 13357d27401911a68ebe08dcfe3af6978baa62b2 $
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.xwiki.test.ui.po.editor.EditPage
EditPage.Editor
-
-
Field Summary
-
Fields inherited from class org.xwiki.test.ui.po.editor.EditPage
autoSaveCheckbox, cancel, currentEditorDiv, save, saveandcontinue, syntaxIdSelect
-
-
Constructor Summary
Constructors Constructor Description WYSIWYGEditPage()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContent()Get thecontentof the page.static WYSIWYGEditPagegotoPage(String space, String page)Go to the passed page in WYSIWYG edit mode.static WYSIWYGEditPagegotoPage(org.xwiki.model.reference.EntityReference targetPageReference)Go to the passed page in WYSIWYG edit mode.voidsetContent(String content)Sets the content of the page.-
Methods inherited from class org.xwiki.test.ui.po.editor.PreviewableEditPage
clickPreview, getPreviewButton, hasPreviewButton
-
Methods inherited from class org.xwiki.test.ui.po.editor.EditPage
clickCancel, clickCancelCSRFWarningButton, clickForceSaveCSRFButton, clickSaveAndContinue, clickSaveAndContinue, clickSaveAndView, clickSaveAndView, clickTranslate, getAutoSaveCheckbox, getDefaultLanguage, getDocumentTitle, getEditor, getExistingLocales, getExistingLocales, getNotExistingLocales, getParent, getSaveAndContinueButton, getSaveAndViewButton, getSyntaxId, isCSRFWarningDisplayed, setDefaultLanguage, setSyntaxId, useShortcutKeyForCancellingEdition
-
Methods 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, 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, watchWiki
-
Methods inherited from class org.xwiki.test.ui.po.BaseElement
getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageIsReady
-
-
-
-
Method Detail
-
gotoPage
public static WYSIWYGEditPage gotoPage(String space, String page)
Go to the passed page in WYSIWYG edit mode.
-
gotoPage
public static WYSIWYGEditPage gotoPage(org.xwiki.model.reference.EntityReference targetPageReference)
Go to the passed page in WYSIWYG edit mode.
-
getContent
public String getContent()
Get thecontentof the page.
-
setContent
public void setContent(String content)
Sets the content of the page.- Parameters:
content- the content to be set
-
-