@PublicSpi public abstract class AbstractEditorPage<T extends ConfluenceAbstractPage,U extends AbstractEditorPage> extends ConfluenceAbstractPage
Editor.driver, pageBinder, pageElementFinder, serverPerformance, timeouts, waiter, waitTimeout| Constructor and Description |
|---|
AbstractEditorPage(Class<T> classWhenSaving,
Class<U> classWhenFailing,
String pageMetaIdentifier) |
| Modifier and Type | Method and Description |
|---|---|
protected <P> P |
bindPage(Class<P> pageClass) |
void |
bindTracer() |
void |
callHeartbeat() |
T |
cancel() |
<P> P |
cancel(Class<P> cancelClass) |
void |
clearSessionToken() |
void |
clickRedoButton()
Perform click action to Redo Button in toolbar of editor
|
void |
clickRestorePageTitleFlagMessage() |
void |
clickUndoButton()
Perform click action to Undo Button in toolbar of editor
|
EditorPage |
discardDraftFromWarning() |
void |
dismissEditorNotifications()
Dismisses the warning messages that popup in the edit page, which hides certain buttons and elements, making
them unclickable.
|
void |
dismissFlagMessages() |
void |
doWaitUntilAUIBlanketHidden() |
void |
doWaitUntilChangeSaved() |
void |
doWaitUntilReady() |
void |
doWaitUntilTinyMceIsInit() |
AbstractEditorPage |
edit()
Click edit from the preview screen.
|
AbstractEditorPage<T,U> |
focusOnTitle() |
Breadcrumbs |
getBreadcrumbs() |
Editor |
getEditor() |
List<String> |
getErrorFlagMessages() |
List<String> |
getErrorMessages() |
com.atlassian.pageobjects.elements.query.TimedQuery<String> |
getHeartbeatMessage() |
ImagePropertyPanel |
getImagePropertyPanel() |
List<String> |
getInforMessages() |
ContentLocator |
getLocation() |
StatusIndicator |
getStatusIndicator() |
List<String> |
getSuccessMessages() |
com.atlassian.pageobjects.elements.query.TimedQuery<String> |
getTimedTitle() |
String |
getTitle() |
String |
getTitlePlaceholder() |
List<String> |
getWarningMessages() |
com.atlassian.pageobjects.elements.query.TimedCondition |
hasErrorFlagMessage() |
com.atlassian.pageobjects.elements.query.TimedCondition |
hasErrorMessage() |
com.atlassian.pageobjects.elements.query.TimedCondition |
hasExistingDraftMessage()
Is a message displayed about there being a pre-existing draft for this page?
|
com.atlassian.pageobjects.elements.query.TimedCondition |
hasInforMessages() |
com.atlassian.pageobjects.elements.query.TimedCondition |
hasMessages() |
com.atlassian.pageobjects.elements.query.TimedCondition |
hasSuccessMessage() |
com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> |
hasViewPreviousChanges() |
com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> |
isBlogPost() |
com.atlassian.pageobjects.elements.query.TimedCondition |
isHeartbeatMessageVisible() |
com.atlassian.pageobjects.elements.query.TimedCondition |
isPublishButtonDisabled() |
boolean |
isTitleEditable() |
com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> |
isTitleFocused() |
com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> |
isTitleSelected() |
com.atlassian.pageobjects.elements.query.TimedCondition |
isUnpublishedChangesLozengeVisible() |
DiscardUnpublishedChangesDialog |
openDiscardDialog() |
ViewDraftDiffDialog |
openDraftChangesDialogFromWarning() |
T |
overwrite() |
EditorPage |
resumeDraftFromWarning() |
T |
save() |
U |
saveAndExpectToFail() |
T |
saveWithEnterInVersionComment() |
ViewPage |
saveWithKeyboardShortcut() |
AbstractEditorPage<T,U> |
setTitle(String title) |
back, dismissSelect2IfActive, doWait, getAlert, getComponent, getHeader, getInfoFlagMessages, getInlineDialog, getMainHeader, getMetadata, getMetadataLong, getPageHeadingColor, getRequestCorrelationId, hasInfoFlagMessages, isADG3Enabled, isDarkFeatureEnabled, isLoggedIn, openAddMenu, openBrowseMenu, openHelpDialogWithShortcut, openHelpMenu, openToolsMenu, openUserMenu, sendKeyboardShortcut, sendKeyboardShortcutAndWaitForCondition, sendKeyboardShortcutAndWaitForUrlToMatch, setSetupCompletepublic void doWaitUntilTinyMceIsInit()
public void doWaitUntilAUIBlanketHidden()
public void doWaitUntilChangeSaved()
public void doWaitUntilReady()
public void bindTracer()
public AbstractEditorPage<T,U> setTitle(String title)
public AbstractEditorPage<T,U> focusOnTitle()
public String getTitle()
public com.atlassian.pageobjects.elements.query.TimedQuery<String> getTimedTitle()
public String getTitlePlaceholder()
public Editor getEditor()
public ContentLocator getLocation()
public com.atlassian.pageobjects.elements.query.TimedCondition isUnpublishedChangesLozengeVisible()
public com.atlassian.pageobjects.elements.query.TimedCondition isPublishButtonDisabled()
public T cancel()
public <P> P cancel(Class<P> cancelClass)
public T save()
public DiscardUnpublishedChangesDialog openDiscardDialog()
public T overwrite()
public U saveAndExpectToFail()
public boolean isTitleEditable()
public T saveWithEnterInVersionComment()
public ViewPage saveWithKeyboardShortcut()
public void clearSessionToken()
public ImagePropertyPanel getImagePropertyPanel()
public com.atlassian.pageobjects.elements.query.TimedCondition hasErrorMessage()
public com.atlassian.pageobjects.elements.query.TimedCondition hasErrorFlagMessage()
public com.atlassian.pageobjects.elements.query.TimedCondition hasInforMessages()
public com.atlassian.pageobjects.elements.query.TimedCondition hasSuccessMessage()
public com.atlassian.pageobjects.elements.query.TimedQuery<String> getHeartbeatMessage()
public com.atlassian.pageobjects.elements.query.TimedCondition isHeartbeatMessageVisible()
public void callHeartbeat()
public void dismissEditorNotifications()
public void dismissFlagMessages()
public com.atlassian.pageobjects.elements.query.TimedCondition hasMessages()
public void clickRestorePageTitleFlagMessage()
public Breadcrumbs getBreadcrumbs()
public com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> hasViewPreviousChanges()
public com.atlassian.pageobjects.elements.query.TimedCondition hasExistingDraftMessage()
public ViewDraftDiffDialog openDraftChangesDialogFromWarning()
public EditorPage discardDraftFromWarning()
public EditorPage resumeDraftFromWarning()
public StatusIndicator getStatusIndicator()
public AbstractEditorPage edit()
public com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> isTitleFocused()
public com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> isBlogPost()
public com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> isTitleSelected()
public void clickUndoButton()
public void clickRedoButton()
protected <P> P bindPage(Class<P> pageClass)
Copyright © 2003–2017 Atlassian. All rights reserved.