Package org.xwiki.test.ui.po
Class DeletePageOutcomePage
- 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.DeletePageOutcomePage
-
public class DeletePageOutcomePage extends ViewPage
Represents the common actions possible after a page has been deleted.- Since:
- 3.2M3
- Version:
- $Id: 35f9b6d21a4462e663b274172cd441ecb879fbd3 $
-
-
Constructor Summary
Constructors Constructor Description DeletePageOutcomePage()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description DeletePageOutcomePage
clickDeletePage()
Deprecated.Since 14.10 prefer usinggetDeletedPagesEntries()
andDeletedPageEntry.clickDelete()
.DeletePageOutcomePage
clickDeleteTerminalPage()
Deprecated.Since 14.10 prefer usinggetDeletedTerminalPagesEntries()
andDeletedPageEntry.clickDelete()
.ViewPage
clickRestore()
Deprecated.Since 14.10 prefer usinggetDeletedPagesEntries()
andDeletedPageEntry.clickRestore()
.ViewPage
clickViewDocument(int row)
Deprecated.Since 14.10 prefer usinggetDeletedPagesEntries()
andDeletedPageEntry.clickDelete()
.List<DeletedPageEntry>
getDeletedPagesEntries()
List<DeletedPageEntry>
getDeletedTerminalPagesEntries()
String
getMessage()
String
getPageDeleter()
Deprecated.Since 14.10 prefer usinggetDeletedPagesEntries()
andDeletedPageEntry.getDeleter()
.boolean
hasTerminalPagesInRecycleBin()
-
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
-
getPageDeleter
@Deprecated(since="14.10") public String getPageDeleter()
Deprecated.Since 14.10 prefer usinggetDeletedPagesEntries()
andDeletedPageEntry.getDeleter()
.Return first page deleted deleter.- Since:
- 3.2M3
-
getMessage
public String getMessage()
- Since:
- 4.0M2
-
getDeletedPagesEntries
public List<DeletedPageEntry> getDeletedPagesEntries()
- Returns:
- the list of non-terminal deleted page entries.
- Since:
- 14.10
-
getDeletedTerminalPagesEntries
public List<DeletedPageEntry> getDeletedTerminalPagesEntries()
- Returns:
- the list of terminal deleted page entries.
-
clickRestore
@Deprecated(since="14.10") public ViewPage clickRestore()
Deprecated.Since 14.10 prefer usinggetDeletedPagesEntries()
andDeletedPageEntry.clickRestore()
.Clicks on the first link to restore the deleted page from the recycle bin.- Returns:
- the restored view page
- Since:
- 5.2M2
-
hasTerminalPagesInRecycleBin
public boolean hasTerminalPagesInRecycleBin()
- Returns:
- if there are terminal pages in the recycle bin
- Since:
- 7.2RC1
-
clickDeletePage
@Deprecated(since="14.10") public DeletePageOutcomePage clickDeletePage()
Deprecated.Since 14.10 prefer usinggetDeletedPagesEntries()
andDeletedPageEntry.clickDelete()
.Clicks on the link to permanently delete the deleted page from the recycle bin.- Returns:
- the recycle bin page updated
- Since:
- 7.2RC1
-
clickDeleteTerminalPage
@Deprecated(since="14.10") public DeletePageOutcomePage clickDeleteTerminalPage()
Deprecated.Since 14.10 prefer usinggetDeletedTerminalPagesEntries()
andDeletedPageEntry.clickDelete()
.Clicks on the link to restore the deleted terminal page from the recycle bin.- Returns:
- the restored view page
- Since:
- 7.2RC1
-
clickViewDocument
@Deprecated(since="14.10") public ViewPage clickViewDocument(int row)
Deprecated.Since 14.10 prefer usinggetDeletedPagesEntries()
andDeletedPageEntry.clickDelete()
.Click on the link to view the deleted page.- Parameters:
row
- the revision row for which to view the deleted page, starting at 1- Returns:
- the view page of the deleted page
- Since:
- 13.10.4, 14.2RC1
-
-