Class ApplicationEditPage
- 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.InlinePage
-
- org.xwiki.appwithinminutes.test.po.ApplicationEditPage
-
- Direct Known Subclasses:
ApplicationClassEditPage
,ApplicationHomeEditPage
,ApplicationTemplateProviderEditPage
public class ApplicationEditPage extends InlinePage
Represents some custom actions available on application pages in inline edit mode, since the default save and view and save and continue buttons are overridden in AWM.- Since:
- 7.4M2
- Version:
- $Id: ee2f7037a1313a4f85bbcb0db9b9469d384edaab $
-
-
Field Summary
Fields Modifier and Type Field Description protected org.openqa.selenium.WebElement
nextStepButton
protected org.openqa.selenium.WebElement
previousStepButton
-
Constructor Summary
Constructors Constructor Description ApplicationEditPage()
Deprecated.since 12.8ApplicationEditPage(boolean wait, boolean waitOnXAction)
Constructor that allows to wait or not on next step button.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.openqa.selenium.WebElement
getSaveAndContinueButton()
org.openqa.selenium.WebElement
getSaveAndViewButton()
-
Methods inherited from class org.xwiki.test.ui.po.InlinePage
clickCancel, clickPreview, clickSaveAndContinue, clickSaveAndContinue, clickSaveAndView, clickSaveAndView, createViewPage, getContent, getForm, getFormLocator, getValue, setValue
-
Methods inherited from class org.xwiki.test.ui.po.ViewPage
clickBreadcrumbLink, clickWantedLink, clickWantedLink, contentContainsElement, editSection, exists, getBreadcrumb, getBreadcrumbContent, 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
-
-
-
-
Constructor Detail
-
ApplicationEditPage
@Deprecated public ApplicationEditPage()
Deprecated.since 12.8Default constructor which doesn't wait.
-
ApplicationEditPage
public ApplicationEditPage(boolean wait, boolean waitOnXAction)
Constructor that allows to wait or not on next step button.- Parameters:
wait
- iftrue
we wait for an element to be visible.waitOnXAction
- iftrue
the wait is done on a button namedxaction_save
, else it's done on the idwizard-next
.- Since:
- 12.8, 12.6.3
-
-
Method Detail
-
getSaveAndViewButton
public org.openqa.selenium.WebElement getSaveAndViewButton()
- Overrides:
getSaveAndViewButton
in classInlinePage
-
getSaveAndContinueButton
public org.openqa.selenium.WebElement getSaveAndContinueButton()
- Overrides:
getSaveAndContinueButton
in classInlinePage
-
-