Package org.xwiki.test.ui.po
Class CopyOverwritePromptPage
- 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.CopyOverwritePromptPage
-
public class CopyOverwritePromptPage extends ViewPage
Represents the common actions possible after trying to copy a page over an existing page.- Since:
- 5.3M1
- Version:
- $Id: a4743e8e41520050624c89b29b87d30e650b4619 $
-
-
Constructor Summary
Constructors Constructor Description CopyOverwritePromptPage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ViewPageclickCancelButton()Click the cancel link.CopyPageclickChangeTargetButton()Click the change target link.CopyOrRenameOrDeleteStatusPageclickCopyButton()Submit the copy overwrite prompt page form.StringgetWarningMessage()-
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, getDrawerMenu, getEditURL, getErrorContent, getHTMLMetaDataValue, getLocales, getMetaDataValue, getPageTitle, getPageURL, getXWikiMessageContent, hasLeftPanel, hasLoginLink, hasNotificationsMenu, hasRenderingError, isAuthenticated, isForbidden, isNewDocument, isNotificationsMenuOpen, login, logout, register, reloadPage, rename, sendKeys, toggleActionMenu, toggleNotificationsMenu, useShortcutKeyForClassEditing, useShortcutKeyForEditing, useShortcutKeyForInlineEditing, useShortcutKeyForObjectEditing, useShortcutKeyForPageDeletion, useShortcutKeyForPageRenaming, useShortcutKeyForRightsEditing, useShortcutKeyForSourceViewer, useShortcutKeyForWikiEditing, useShortcutKeyForWysiwygEditing, validateWCAG, validateWCAG, validateWCAG, 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
-
clickCopyButton
public CopyOrRenameOrDeleteStatusPage clickCopyButton()
Submit the copy overwrite prompt page form.- Returns:
- the copy confirmation page.
-
clickChangeTargetButton
public CopyPage clickChangeTargetButton()
Click the change target link.- Returns:
- the copy page.
-
clickCancelButton
public ViewPage clickCancelButton()
Click the cancel link.- Returns:
- the view page of the originaly copied document.
-
getWarningMessage
public String getWarningMessage()
- Returns:
- the overwrite warning message.
-
-