Package org.xwiki.test.ui.po
Class ConfirmationPage
- 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.ConfirmationPage
-
- Direct Known Subclasses:
DeletePageConfirmationPage
public class ConfirmationPage extends ViewPage
Represents a confirmation page that allows the user cancel or confirm the current action (e.g. delete a page, delete a space, etc.).- Since:
- 4.0M2
- Version:
- $Id: 58bd12476bd62f067bf6217705eb28a92f926193 $
-
-
Constructor Summary
Constructors Constructor Description ConfirmationPage()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
clickNo()
Clicks on the No button to cancel the current action.void
clickYes()
Clicks on the Yes button to confirm the current action.DeletingPage
confirmDeletePage()
Deprecated.since 12.8RC1.boolean
hasAffectChildrenOption()
void
setAffectChildren(boolean value)
Check or un-check the "affect children" option.-
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
-
clickYes
public void clickYes()
Clicks on the Yes button to confirm the current action.
-
clickNo
public void clickNo()
Clicks on the No button to cancel the current action.
-
hasAffectChildrenOption
public boolean hasAffectChildrenOption()
- Returns:
- if the "affect children" option is present or not
- Since:
- 7.2RC1
-
setAffectChildren
public void setAffectChildren(boolean value)
Check or un-check the "affect children" option.- Parameters:
value
- either or the option should be enabled- Since:
- 7.2RC1
-
confirmDeletePage
@Deprecated public DeletingPage confirmDeletePage()
Deprecated.since 12.8RC1. The methodDeletePageConfirmationPage.confirmDeletePage()
should be used instead.Confirm the deletion of the page.- Returns:
- an object representing the UI displayed when a page is deleted
-
-