org.xwiki.test.ui.po.editor
Class EditPage
java.lang.Object
org.xwiki.test.ui.po.BaseElement
org.xwiki.test.ui.po.BasePage
org.xwiki.test.ui.po.editor.EditPage
- Direct Known Subclasses:
- ObjectEditPage, PreviewableEditPage, PreviewEditPage
public class EditPage
- extends BasePage
Represents the common actions possible on all Pages when using the "edit" action.
- Since:
- 3.2M3
- Version:
- $Id: f72fca79e01a26ee7aec22419abe58b65ee214ed $
|
Nested Class Summary |
static class |
EditPage.Editor
Enumerates the available editors. |
| Methods inherited from class org.xwiki.test.ui.po.BasePage |
canDelete, clickContentMenuTopEntry, copy, createInlinePage, createPage, createSpace, delete, edit, editClass, editInline, editObjects, editRights, editWiki, editWYSIWYG, getCurrentUser, getDocumentTitle, getEditURL, getMetaDataValue, getPageMenuLink, getPageTitle, getPageURL, hasLoginLink, isAuthenticated, isNewDocument, login, logout, register, sendKeys, waitUntilPageIsLoaded, watchDocument, watchSpace |
| Methods inherited from class org.xwiki.test.ui.po.BaseElement |
executeJavascript, getDriver, getUtil, makeAlertDialogSilent, makeConfirmDialogSilent, makeElementVisible, makeElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilElementDisappears, waitUntilElementEndsWithAttributeValue, waitUntilElementHasAttributeValue, waitUntilElementHasTextContent, waitUntilElementIsVisible, waitUntilElementsAreVisible |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
saveandcontinue
protected org.openqa.selenium.WebElement saveandcontinue
save
protected org.openqa.selenium.WebElement save
cancel
protected org.openqa.selenium.WebElement cancel
selectedEditMenuItem
protected org.openqa.selenium.WebElement selectedEditMenuItem
syntaxIdSelect
protected org.openqa.selenium.WebElement syntaxIdSelect
EditPage
public EditPage()
clickSaveAndContinue
public void clickSaveAndContinue()
clickSaveAndView
public ViewPage clickSaveAndView()
clickCancel
public ViewPage clickCancel()
getEditor
public EditPage.Editor getEditor()
- Returns:
- the editor being used on this page
getSyntaxId
public String getSyntaxId()
- Returns:
- the syntax if of the page
- Since:
- 3.2M3
setSyntaxId
public void setSyntaxId(String syntaxId)
- Since:
- 3.2M3
clickContentMenuEditSubMenuEntry
protected void clickContentMenuEditSubMenuEntry(String id)
- Perform a click on a "content menu" sub-menu entry.
Overwrite in order to change the behavior of clickEditXXX methods in edit mode so that they switch from
the current editor to the specified one.
- Overrides:
clickContentMenuEditSubMenuEntry in class BasePage
- Parameters:
id - The id of the entry to follow- See Also:
BasePage.clickContentMenuEditSubMenuEntry(String)
Copyright © 2004-2013 XWiki. All Rights Reserved.