Package org.xwiki.test.ui.po
Class AttachmentHistoryPage
- java.lang.Object
-
- org.xwiki.test.ui.po.BaseElement
-
- org.xwiki.test.ui.po.BasePage
-
- org.xwiki.test.ui.po.ViewPage
-
- org.xwiki.test.ui.po.AttachmentHistoryPage
-
public class AttachmentHistoryPage extends ViewPage
Page Object for the attachment history page.- Since:
- 14.2RC1
- Version:
- $Id: e3218aeac10701955bde9353b1b94b1ad6b4aed0 $
-
-
Constructor Summary
Constructors Constructor Description AttachmentHistoryPage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
geAttachmentContent(long rowIdx)
Follow a version url, get its content the comes back to the previous page.String
getAuthor(int rowIdx)
long
getSize(int rowIdx)
String
getVersion(long rowIdx)
-
Methods inherited from class org.xwiki.test.ui.po.ViewPage
clickBreadcrumbLink, clickWantedLink, clickWantedLink, contentContainsElement, editSection, exists, getBreadcrumb, getBreadcrumbContent, getContent, getLastModifiedText, 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, getXWikiMessageContent, 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
-
-
-
-
Method Detail
-
getVersion
public String getVersion(long rowIdx)
- Parameters:
rowIdx
- the index of the row of the attachment, starting at 1- Returns:
- the version for the requested attachment version
-
geAttachmentContent
public String geAttachmentContent(long rowIdx)
Follow a version url, get its content the comes back to the previous page.- Parameters:
rowIdx
- the index of the row of the attachment, starting at 1- Returns:
- the link to the attachment version content page
-
getSize
public long getSize(int rowIdx)
- Parameters:
rowIdx
- the index of the row of the attachment, starting at 1- Returns:
- the size of the requested attachment version
-
getAuthor
public String getAuthor(int rowIdx)
- Parameters:
rowIdx
- the index of the row of the attachment, starting at 1- Returns:
- the pretty name of the author of the requested attachment version
-
-