Class DetailsSummaryMacroViewPage


  • public class DetailsSummaryMacroViewPage
    extends org.xwiki.test.ui.po.ViewPage
    Represents a details summary macro in view mode.
    Since:
    1.27.2
    Version:
    $Id$
    • Field Summary

      • Fields inherited from class org.xwiki.test.ui.po.BasePage

        logo
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int columnCount()  
      int entriesCount()  
      • Methods inherited from class org.xwiki.test.ui.po.ViewPage

        clickBreadcrumbLink, clickWantedLink, clickWantedLink, contentContainsElement, editSection, exists, getBreadcrumb, getBreadcrumbContent, getContent, getPageBackgroundColor, getTitleColor, getTitleFontFamily, getTranslateButton, hasBreadcrumbContent, hasBreadcrumbContent, hasTranslateButton, isInlinePage, openCommentsDocExtraPane, openHistoryDocExtraPane, openInformationDocExtraPane, scrollToTop, useShortcutForDocExtraPane, useShortcutKeyForCommentPane, useShortcutKeyForHistoryPane, useShortcutKeyForInformationPane, waitForDocExtraPaneActive, waitUntilContent
      • 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, getDocumentTitle, 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

      • DetailsSummaryMacroViewPage

        public DetailsSummaryMacroViewPage​(int index)
        Retrieves the details summary macro at the specified index on the page. Throws an error if the macro at the given index is not found.
        Parameters:
        index - the zero-based index of the details summary macro to retrieve
      • DetailsSummaryMacroViewPage

        public DetailsSummaryMacroViewPage()
        Retrieves the first details summary macro on the page. Throws an error if no details summary macro is found.
    • Method Detail

      • entriesCount

        public int entriesCount()
        Returns:
        the number of entries (pages with details blocks) that where found by the macro.
      • columnCount

        public int columnCount()
        Returns:
        the number of columns of the macro, including the document title.