Class RegisterMacro


  • public class RegisterMacro
    extends org.xwiki.test.ui.po.editor.EditPage
    Helps registering broken rendering macros tht are stored in XWiki pages.
    Since:
    1.27.2
    Version:
    $Id$
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.xwiki.test.ui.po.editor.EditPage

        org.xwiki.test.ui.po.editor.EditPage.Editor
    • Field Summary

      • Fields inherited from class org.xwiki.test.ui.po.editor.EditPage

        cancel, currentEditorDiv, save, saveandcontinue, syntaxIdSelect
      • Fields inherited from class org.xwiki.test.ui.po.BasePage

        logo
    • Constructor Summary

      Constructors 
      Constructor Description
      RegisterMacro()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void registerMacro​(List<String> space, String pageName)
      Register a macro by resaving the document.
      • Methods inherited from class org.xwiki.test.ui.po.editor.EditPage

        clickCancel, clickCancelCSRFWarningButton, clickForceSaveCSRFButton, clickSaveAndContinue, clickSaveAndContinue, clickSaveAndView, clickSaveAndView, clickTranslate, 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, getEditURL, getErrorContent, getHTMLMetaDataValue, getLocales, getMetaDataValue, getPageTitle, getPageURL, hasLeftPanel, hasLoginLink, hasNotificationsMenu, hasRenderingError, hideDrawer, isAuthenticated, isDrawerVisible, isForbidden, isNewDocument, isNotificationsMenuOpen, login, logout, register, reloadPage, rename, sendKeys, showDrawer, toggleActionMenu, toggleDrawer, toggleNotificationsMenu, useShortcutKeyForClassEditing, useShortcutKeyForEditing, useShortcutKeyForInlineEditing, useShortcutKeyForObjectEditing, useShortcutKeyForPageDeletion, useShortcutKeyForPageRenaming, useShortcutKeyForRightsEditing, useShortcutKeyForSourceViewer, useShortcutKeyForWikiEditing, useShortcutKeyForWysiwygEditing, viewChildren, watchDocument, watchSpace, watchWiki
      • Methods inherited from class org.xwiki.test.ui.po.BaseElement

        getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageIsReady
    • Constructor Detail

      • RegisterMacro

        public RegisterMacro()
    • Method Detail

      • registerMacro

        public void registerMacro​(List<String> space,
                                  String pageName)
        Register a macro by resaving the document.
        Parameters:
        space - space of the document
        pageName - name of the document