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

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.PreviewEditPage

public class PreviewEditPage
extends EditPage

Models the preview edit page.

Since:
3.2M3
Version:
$Id: 5f8d886554d0f1d8dd768f0e0f579f724dfdd305 $

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
PreviewEditPage(PreviewableEditPage editedPage)
          Creates a new preview page that holds a reference to the edited page.
 
Method Summary
 PreviewableEditPage clickBackToEdit()
          Clicks on the back to edit button.
 
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

PreviewEditPage

public PreviewEditPage(PreviewableEditPage editedPage)
Creates a new preview page that holds a reference to the edited page.

Parameters:
editedPage - the edited page
Method Detail

clickBackToEdit

public PreviewableEditPage clickBackToEdit()
Clicks on the back to edit button.

Returns:
the edited page


Copyright © 2004-2013 XWiki. All Rights Reserved.