org.xwiki.panels.test.po
Class NewPagePanel

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.ViewPage
              extended by org.xwiki.panels.test.po.NewPagePanel

public class NewPagePanel
extends ViewPage

Represents the NewPage panel.

Since:
4.2M1
Version:
$Id: 65d6bd8a7c2a70d19b41e2b50d8b66bcf113fa2d $

Constructor Summary
NewPagePanel()
           
 
Method Summary
 WYSIWYGEditPage createPage(String spaceName, String pageName)
          Fills the form on the NewPage panel with the given information and submits the form.
static NewPagePanel gotoPage()
           
 
Methods inherited from class org.xwiki.test.ui.po.ViewPage
clickBreadcrumbLink, clickWantedLink, editSection, exists, getBreadcrumbContent, getContent, hasBreadcrumbContent, isInlinePage, openAttachmentsDocExtraPane, openCommentsDocExtraPane, openHistoryDocExtraPane, waitForDocExtraPaneActive, waitUntilContent
 
Methods inherited from class org.xwiki.test.ui.po.BasePage
canDelete, clickContentMenuEditSubMenuEntry, 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

NewPagePanel

public NewPagePanel()
Method Detail

gotoPage

public static NewPagePanel gotoPage()

createPage

public WYSIWYGEditPage createPage(String spaceName,
                                  String pageName)
Fills the form on the NewPage panel with the given information and submits the form.

Parameters:
spaceName - the name of the space where to create the page
pageName - the name of page to create
Returns:
the WYSIWYG edit page for the specified page


Copyright © 2004-2013 XWiki. All Rights Reserved.