public class Editor extends Object
Modifier and Type | Field and Description |
---|---|
protected org.openqa.selenium.WebDriver |
driver |
protected com.atlassian.pageobjects.elements.timeout.Timeouts |
timeouts |
Constructor and Description |
---|
Editor() |
Modifier and Type | Method and Description |
---|---|
void |
clickCancel() |
void |
clickEdit() |
ImageBrowserDialog |
clickInsertFilesButton()
Perform click action to Inser files button in editor toolbar
|
void |
clickOverwrite() |
EditorPreview |
clickPreview() |
void |
clickSave() |
void |
clickSaveAndVerifyNoPageReload() |
void |
clickSaveAndWaitForPageChange() |
void |
closePageLayout2Menu()
Close page layouts toolbar
|
void |
closeSearchAndReplaceMenu() |
EditorContent |
getContent() |
LinkPropertyPanel |
getLinkPropertyPanel()
Deprecated.
since 5.7, please use
EditorContent.getEmbededLinks() and click on the individual link to get their link property panel. |
com.atlassian.pageobjects.elements.query.TimedQuery<String> |
getSaveButtonText() |
SourceEditor |
getSourceEditor() |
EditorMainToolbar |
getToolbar() |
com.atlassian.pageobjects.elements.PageElement |
getToolTip() |
long |
getUndoLimit() |
String |
getVersionComment() |
com.atlassian.pageobjects.elements.query.TimedCondition |
hasDraftStatus() |
boolean |
hasNotifyWatchers() |
com.atlassian.pageobjects.elements.query.TimedCondition |
hasPreviewContent(String string)
Deprecated.
since 5.5 use
EditorPreview.containsContent(String) , which waits for visibility too
and uses pageElements instead of dodgy js. |
boolean |
hasRestrictionsSet() |
boolean |
hasVersionComment() |
com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> |
hasViewAutosavedChanges() |
void |
hoverOverSave() |
boolean |
isCancelVisiableNow()
Deprecated.
Since 5.7. Mis-spelled method name. Retained for backwards compatibility. Use
isCancelVisibleNow() |
boolean |
isCancelVisibleNow() |
com.atlassian.pageobjects.elements.query.TimedCondition |
isDirty() |
boolean |
isEditBlogPostUrl()
Returns true if the page url matches a valid blog post edition url.
|
com.atlassian.pageobjects.elements.query.TimedCondition |
isEditButtonVisible()
The editor's edit button, visible when you are in preview within the editor.
|
com.atlassian.pageobjects.elements.query.TimedCondition |
isEditorCurrentlyActive() |
boolean |
isEditPageUrl()
Deprecated.
since 5.5 use
EditContentPage.hasEditPageUrl() |
com.atlassian.pageobjects.elements.query.TimedCondition |
isEditPageUrlTimed()
If the page url matches a valid page edition url.
|
com.atlassian.pageobjects.elements.query.TimedCondition |
isQuickEdit() |
com.atlassian.pageobjects.elements.query.TimedCondition |
isReady()
Deprecated.
since 5.6 - Use
isEditorCurrentlyActive() to check if tinymce is currently active instead. |
boolean |
isRestrictionsButtonVisible() |
com.atlassian.pageobjects.elements.query.TimedCondition |
isSearchButtonVisible() |
com.atlassian.pageobjects.elements.query.TimedCondition |
isTableToolbarOpen()
true if the Table toolbar is visible
|
com.atlassian.pageobjects.elements.query.TimedCondition |
isTinyMceInit()
Deprecated.
since 5.6- Use
isEditorCurrentlyActive() to check if tinymce is currently active instead. |
com.atlassian.pageobjects.elements.query.TimedCondition |
isUndoEnabled() |
ViewDraftDiffDialog |
openDraftChangesDialogFromAutosave() |
ImageBrowserDialog |
openImageDialog() |
InsertDropdownMenu |
openInsertMenu() |
LabelsDialog |
openLabelsDialog() |
LinkBrowserDialog |
openLinkBrowserDialog() |
MacroBrowserDialog |
openMacroBrowser() |
MovePageDialog |
openMovePageDialog() |
PageRestrictionsDialog |
openRestrictionsDialog() |
void |
openSourceEditor() |
WikiMarkupDialog |
openWikiMarkupDialog() |
ViewPage |
saveWithKeyboardShortcut() |
void |
setUndoLimit(long limit) |
void |
setVersionComment(String versionCommentText) |
PageLayout2Toolbar |
showPageLayout2Menu() |
SearchAndReplaceToolbar |
showSearchAndReplaceMenu() |
void |
undo() |
@Inject protected com.atlassian.pageobjects.elements.timeout.Timeouts timeouts
@Inject protected org.openqa.selenium.WebDriver driver
public PageLayout2Toolbar showPageLayout2Menu()
public com.atlassian.pageobjects.elements.query.TimedCondition isUndoEnabled()
public void undo()
public void closePageLayout2Menu()
public SearchAndReplaceToolbar showSearchAndReplaceMenu()
public void closeSearchAndReplaceMenu()
public com.atlassian.pageobjects.elements.query.TimedCondition isSearchButtonVisible()
public void clickCancel()
public void openSourceEditor()
public SourceEditor getSourceEditor()
@Deprecated public boolean isCancelVisiableNow()
isCancelVisibleNow()
public boolean isCancelVisibleNow()
public void clickSave()
public ViewPage saveWithKeyboardShortcut()
public void clickOverwrite()
public com.atlassian.pageobjects.elements.query.TimedQuery<String> getSaveButtonText()
public void hoverOverSave()
public com.atlassian.pageobjects.elements.PageElement getToolTip()
public void setVersionComment(String versionCommentText)
public String getVersionComment()
public boolean hasVersionComment()
public boolean hasNotifyWatchers()
public LabelsDialog openLabelsDialog()
public MovePageDialog openMovePageDialog()
public boolean isRestrictionsButtonVisible()
public PageRestrictionsDialog openRestrictionsDialog()
public boolean hasRestrictionsSet()
public EditorPreview clickPreview()
public com.atlassian.pageobjects.elements.query.TimedCondition hasDraftStatus()
public com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> hasViewAutosavedChanges()
@Deprecated public com.atlassian.pageobjects.elements.query.TimedCondition hasPreviewContent(String string)
EditorPreview.containsContent(String)
, which waits for visibility too
and uses pageElements instead of dodgy js.public com.atlassian.pageobjects.elements.query.TimedCondition isEditButtonVisible()
public void clickEdit()
public ViewDraftDiffDialog openDraftChangesDialogFromAutosave()
public com.atlassian.pageobjects.elements.query.TimedCondition isQuickEdit()
public com.atlassian.pageobjects.elements.query.TimedCondition isDirty()
public LinkPropertyPanel getLinkPropertyPanel()
EditorContent.getEmbededLinks()
and click on the individual link to get their link property panel.public EditorContent getContent()
@Deprecated public com.atlassian.pageobjects.elements.query.TimedCondition isReady()
isEditorCurrentlyActive()
to check if tinymce is currently active instead.@Deprecated public boolean isEditPageUrl()
EditContentPage.hasEditPageUrl()
public com.atlassian.pageobjects.elements.query.TimedCondition isEditorCurrentlyActive()
@Deprecated public com.atlassian.pageobjects.elements.query.TimedCondition isTinyMceInit()
isEditorCurrentlyActive()
to check if tinymce is currently active instead.public com.atlassian.pageobjects.elements.query.TimedCondition isEditPageUrlTimed()
public boolean isEditBlogPostUrl()
public void clickSaveAndWaitForPageChange()
public void clickSaveAndVerifyNoPageReload()
public long getUndoLimit()
public void setUndoLimit(long limit)
public com.atlassian.pageobjects.elements.query.TimedCondition isTableToolbarOpen()
public InsertDropdownMenu openInsertMenu()
public WikiMarkupDialog openWikiMarkupDialog()
public LinkBrowserDialog openLinkBrowserDialog()
public MacroBrowserDialog openMacroBrowser()
public ImageBrowserDialog openImageDialog()
public ImageBrowserDialog clickInsertFilesButton()
public EditorMainToolbar getToolbar()
Copyright © 2003–2015 Atlassian. All rights reserved.