org.xwiki.test.ui.po.editor
Class WikiEditPage

java.lang.Object
  extended by org.xwiki.test.ui.po.BaseElement
      extended by org.xwiki.test.ui.po.BasePage
          extended by org.xwiki.test.ui.po.editor.EditPage
              extended by org.xwiki.test.ui.po.editor.PreviewableEditPage
                  extended by org.xwiki.test.ui.po.editor.WikiEditPage

public class WikiEditPage
extends PreviewableEditPage

Represents the common actions possible on all Pages when using the "edit" action with "wiki" editor

Since:
3.2M3
Version:
$Id: 4e3b0b536f768c73b7356a7d51dd80837be4c31f $

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
cancel, save, saveandcontinue, selectedEditMenuItem, syntaxIdSelect
 
Constructor Summary
WikiEditPage()
           
 
Method Summary
 String getContent()
          Get the content of the page.
 String getParent()
           
 String getTitle()
          Get the title of the page.
static WikiEditPage gotoPage(String space, String page)
          Go to the passed page in wiki edit mode.
 void setContent(String content)
          Set the content of the page.
 void setEditComment(String comment)
          Set comment for this change.
 void setMinorEdit(boolean value)
          Set the minor edit check box value.
 void setParent(String parent)
          Set the parent of the page
 void setTitle(String title)
          Set the title of the page.
 
Methods inherited from class org.xwiki.test.ui.po.editor.PreviewableEditPage
clickPreview
 
Methods inherited from class org.xwiki.test.ui.po.editor.EditPage
clickCancel, clickContentMenuEditSubMenuEntry, clickSaveAndContinue, clickSaveAndView, getEditor, getSyntaxId, setSyntaxId
 
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
 

Constructor Detail

WikiEditPage

public WikiEditPage()
Method Detail

gotoPage

public static WikiEditPage gotoPage(String space,
                                    String page)
Go to the passed page in wiki edit mode.


getTitle

public String getTitle()
Get the title of the page.


setTitle

public void setTitle(String title)
Set the title of the page.


getParent

public String getParent()
Returns:
the value of the parent field.

setParent

public void setParent(String parent)
Set the parent of the page

Parameters:
parent - the value for the new parent to set

getContent

public String getContent()
Get the content of the page.


setContent

public void setContent(String content)
Set the content of the page.


setMinorEdit

public void setMinorEdit(boolean value)
Set the minor edit check box value.


setEditComment

public void setEditComment(String comment)
Set comment for this change.



Copyright © 2004-2013 XWiki. All Rights Reserved.