AbstractEditorPage
instead from
maven module com.atlassian.confluence:confluence-webdriver-pageobjects
. See the new README.@Deprecated public abstract class AbstractEditorPage<T extends AbstractViewPage,U extends AbstractEditorPage> extends ConfluenceAbstractPage
Editor
.driver, pageBinder, pageElementFinder, timeouts, waiter, waitTimeout
Constructor and Description |
---|
AbstractEditorPage(Class<T> classWhenSaving,
Class<U> classWhenFailing,
String pageMetaIdentifier)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
T |
cancel()
Deprecated.
|
void |
cancelDoNotBind()
Deprecated.
since 5.4 use
Editor.clickCancel() . |
void |
clearSessionToken()
Deprecated.
|
void |
clickRedoButton()
Deprecated.
Perform click action to Redo Button in toolbar of editor
|
void |
clickUndoButton()
Deprecated.
Perform click action to Undo Button in toolbar of editor
|
EditorPage |
discardDraftFromWarning()
Deprecated.
|
void |
dismissEditorNotifications()
Deprecated.
Dismisses the warning messages that popup in the edit page, which hides certain buttons and elements, making
them unclickable.
|
void |
doWaitUntilTinyMceIsInit()
Deprecated.
|
AbstractEditorPage |
edit()
Deprecated.
Click edit from the preview screen.
|
AbstractEditorPage<T,U> |
focusOnTitle()
Deprecated.
|
Breadcrumbs |
getBreadcrumbs()
Deprecated.
|
EditorContent |
getContent()
Deprecated.
since 5.4 use
Editor.getContent() |
Editor |
getEditor()
Deprecated.
|
List<String> |
getErrorMessages()
Deprecated.
|
ImageBrowserDialog |
getImageBrowserDialog()
Deprecated.
since 5.5.1 use
openImageDialog() |
ImagePropertyPanel |
getImagePropertyPanel()
Deprecated.
|
List<String> |
getInforMessages()
Deprecated.
|
Location |
getLocation()
Deprecated.
|
List<String> |
getSuccessMessages()
Deprecated.
|
String |
getTitle()
Deprecated.
|
String |
getTitlePlaceholder()
Deprecated.
|
List<String> |
getWarningMessages()
Deprecated.
|
com.atlassian.pageobjects.elements.query.TimedCondition |
hasDraftStatus()
Deprecated.
since 5.4 use
Editor.hasDraftStatus() |
com.atlassian.pageobjects.elements.query.TimedCondition |
hasErrorMessage()
Deprecated.
|
com.atlassian.pageobjects.elements.query.TimedCondition |
hasExistingDraftMessage()
Deprecated.
Is a message displayed about there being a pre-existing draft for this page?
|
com.atlassian.pageobjects.elements.query.TimedCondition |
hasMessages()
Deprecated.
|
com.atlassian.pageobjects.elements.query.TimedCondition |
hasPreviewContent(String string)
Deprecated.
since 5.4 use
Editor.hasPreviewContent(String) |
boolean |
hasRestrictionsSet()
Deprecated.
since 5.4 use
Editor.hasRestrictionsSet() |
com.atlassian.pageobjects.elements.query.TimedCondition |
hasSuccessMessage()
Deprecated.
|
com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> |
hasViewAutosavedChanges()
Deprecated.
since 5.4 use
Editor.hasViewAutosavedChanges() |
com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> |
hasViewPreviousChanges()
Deprecated.
|
com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> |
isBlogPost()
Deprecated.
|
boolean |
isCancelVisibleNow()
Deprecated.
since 5.4 use
Editor.isCancelVisibleNow() |
com.atlassian.pageobjects.elements.query.TimedCondition |
isDirty()
Deprecated.
since 5.4 use
Editor.isDirty() |
boolean |
isPermissionsSet()
Deprecated.
since 5.4
Editor.hasRestrictionsSet() |
com.atlassian.pageobjects.elements.query.TimedCondition |
isPublishButtonDisabled()
Deprecated.
|
com.atlassian.pageobjects.elements.query.TimedCondition |
isQuickEdit()
Deprecated.
since 5.4 use
Editor.isQuickEdit() |
boolean |
isRestrictionsButtonVisible()
Deprecated.
since 5.4 use
Editor.isRestrictionsButtonVisible() . |
boolean |
isTitleEditable()
Deprecated.
|
com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> |
isTitleFocused()
Deprecated.
|
com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> |
isTitleSelected()
Deprecated.
|
com.atlassian.pageobjects.elements.query.TimedCondition |
isUnpublishedChangesLozengeVisible()
Deprecated.
|
ViewDraftDiffDialog |
openDraftChangesDialogFromAutosave()
Deprecated.
since 5.4 use
Editor.openDraftChangesDialogFromAutosave() |
ViewDraftDiffDialog |
openDraftChangesDialogFromWarning()
Deprecated.
|
ImageBrowserDialog |
openImageDialog()
Deprecated.
since 5.6 use
Editor.openImageDialog() |
InsertDropdownMenu |
openInsertMenu()
Deprecated.
since 5.6 use
Editor.openInsertMenu() |
LabelsDialog |
openLabelsDialog()
Deprecated.
since 5.4 use
Editor.openLabelsDialog() |
MacroBrowserDialog |
openMacroBrowser()
Deprecated.
since 5.6 use
Editor.openMacroBrowser() |
MovePageDialog |
openMovePageDialog()
Deprecated.
since 5.4 use
Editor.openMovePageDialog() . |
PageRestrictionsDialog |
openRestrictionsDialog()
Deprecated.
since 5.4 use
Editor.openRestrictionsDialog() |
WikiMarkupDialog |
openWikiMarkupDialog()
Deprecated.
since 5.6 use
Editor.openWikiMarkupDialog() |
T |
overwrite()
Deprecated.
|
void |
preview()
Deprecated.
since 5.4 use
Editor.clickPreview() |
EditorPage |
resumeDraftFromWarning()
Deprecated.
|
T |
save()
Deprecated.
|
U |
saveAndExpectToFail()
Deprecated.
|
T |
saveWithEnterInVersionComment()
Deprecated.
|
ViewPage |
saveWithKeyboardShortcut()
Deprecated.
|
AbstractEditorPage<T,U> |
setTitle(String title)
Deprecated.
|
void |
setVersionComment(String versionCommentText)
Deprecated.
since 5.4 use
Editor.setVersionComment(String) |
PageLayout2Toolbar |
showPageLayout2Menu()
Deprecated.
since 5.4 use
Editor.showPageLayout2Menu() . |
back, dismissSelect2IfActive, doWait, getAlert, getComponent, getHeader, getInlineDialog, getMainHeader, getMetadata, getMetadataLong, getPageHeadingColor, isDarkFeatureEnabled, isLoggedIn, openBrowseMenu, openHelpMenu, openToolsMenu, openUserMenu, sendKeyboardShortcut, sendKeyboardShortcutAndWaitForCondition, setSetupComplete, toString
public void doWaitUntilTinyMceIsInit()
public AbstractEditorPage<T,U> setTitle(String title)
public AbstractEditorPage<T,U> focusOnTitle()
public com.atlassian.pageobjects.elements.query.TimedCondition hasMessages()
public com.atlassian.pageobjects.elements.query.TimedCondition hasErrorMessage()
public String getTitle()
public String getTitlePlaceholder()
@Deprecated public EditorContent getContent()
Editor.getContent()
public Editor getEditor()
@Deprecated public PageLayout2Toolbar showPageLayout2Menu()
Editor.showPageLayout2Menu()
.public Location getLocation()
public com.atlassian.pageobjects.elements.query.TimedCondition isUnpublishedChangesLozengeVisible()
public com.atlassian.pageobjects.elements.query.TimedCondition isPublishButtonDisabled()
public T cancel()
@Deprecated public void cancelDoNotBind()
Editor.clickCancel()
.@Deprecated public boolean isCancelVisibleNow()
Editor.isCancelVisibleNow()
public T save()
public T overwrite()
public U saveAndExpectToFail()
public boolean isTitleEditable()
@Deprecated public void setVersionComment(String versionCommentText)
Editor.setVersionComment(String)
public T saveWithEnterInVersionComment()
public ViewPage saveWithKeyboardShortcut()
public void clearSessionToken()
public ImagePropertyPanel getImagePropertyPanel()
@Deprecated public ImageBrowserDialog getImageBrowserDialog()
openImageDialog()
public com.atlassian.pageobjects.elements.query.TimedCondition hasSuccessMessage()
public void dismissEditorNotifications()
public MacroBrowserDialog openMacroBrowser()
Editor.openMacroBrowser()
public WikiMarkupDialog openWikiMarkupDialog()
Editor.openWikiMarkupDialog()
public ImageBrowserDialog openImageDialog()
Editor.openImageDialog()
public InsertDropdownMenu openInsertMenu()
Editor.openInsertMenu()
@Deprecated public LabelsDialog openLabelsDialog()
Editor.openLabelsDialog()
public Breadcrumbs getBreadcrumbs()
@Deprecated public MovePageDialog openMovePageDialog()
Editor.openMovePageDialog()
.@Deprecated public boolean isRestrictionsButtonVisible()
Editor.isRestrictionsButtonVisible()
.@Deprecated public PageRestrictionsDialog openRestrictionsDialog()
Editor.openRestrictionsDialog()
@Deprecated public boolean hasRestrictionsSet()
Editor.hasRestrictionsSet()
@Deprecated public void preview()
Editor.clickPreview()
public com.atlassian.pageobjects.elements.query.TimedCondition hasDraftStatus()
Editor.hasDraftStatus()
@Deprecated public com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> hasViewAutosavedChanges()
Editor.hasViewAutosavedChanges()
public com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> hasViewPreviousChanges()
@Deprecated public com.atlassian.pageobjects.elements.query.TimedCondition hasPreviewContent(String string)
Editor.hasPreviewContent(String)
Editor.clickPreview()
, does the preview display the given string.public com.atlassian.pageobjects.elements.query.TimedCondition hasExistingDraftMessage()
public ViewDraftDiffDialog openDraftChangesDialogFromWarning()
public EditorPage discardDraftFromWarning()
public EditorPage resumeDraftFromWarning()
@Deprecated public ViewDraftDiffDialog openDraftChangesDialogFromAutosave()
Editor.openDraftChangesDialogFromAutosave()
@Deprecated public com.atlassian.pageobjects.elements.query.TimedCondition isQuickEdit()
Editor.isQuickEdit()
@Deprecated public com.atlassian.pageobjects.elements.query.TimedCondition isDirty()
Editor.isDirty()
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()
@Deprecated public boolean isPermissionsSet()
Editor.hasRestrictionsSet()
public void clickUndoButton()
public void clickRedoButton()
Copyright © 2003–2016 Atlassian. All rights reserved.