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: 456d0891841deffd7ff27dd8e75d5d94d69dce1e $
-
-
Constructor Summary
Constructors Constructor Description DeletePageOutcomePage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeletePageOutcomePage
clickDeletePage()
Clicks on the link to restore the deleted page from the recycle bin.DeletePageOutcomePage
clickDeleteTerminalPage()
Clicks on the link to restore the deleted terminal page from the recycle bin.ViewPage
clickRestore()
Clicks on the link to restore the deleted page from the recycle bin.ViewPage
clickViewDocument(int row)
Click on the link to view the deleted page.String
getMessage()
String
getPageDeleter()
boolean
hasTerminalPagesInRecycleBin()
-
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
-
-
-
-
Method Detail
-
getPageDeleter
public String getPageDeleter()
- Since:
- 3.2M3
-
getMessage
public String getMessage()
- Since:
- 4.0M2
-
clickRestore
public ViewPage clickRestore()
Clicks on the 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
public DeletePageOutcomePage clickDeletePage()
Clicks on the link to restore the deleted page from the recycle bin.- Returns:
- the restored view page
- Since:
- 7.2RC1
-
clickDeleteTerminalPage
public DeletePageOutcomePage clickDeleteTerminalPage()
Clicks on the link to restore the deleted terminal page from the recycle bin.- Returns:
- the restored view page
- Since:
- 7.2RC1
-
clickViewDocument
public ViewPage clickViewDocument(int row)
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
-
-