public static class CommentsSection.EditComment extends EditorContent
Constructor and Description |
---|
EditComment() |
Modifier and Type | Method and Description |
---|---|
ViewPage |
cancel()
Cancel a comment in the quick editor
|
ViewPage |
cancelWithDirtyEditor()
Cancel a comment in the quick editor, with a dirty editor.
|
void |
cancelWithoutWaitForBind()
Cancel a comment in the quick editor without waiting for bind
|
com.atlassian.pageobjects.elements.query.TimedCondition |
captchaVisibleCondition()
Checks to see if Captcha is present in the quick editor
|
void |
clickSave()
Clicks on the save button.
|
void |
editUsingShortcut() |
void |
enterCaptcha(String captcha)
Enters text into the captcha field
|
String |
getCaptchaUrl()
Get the URL of the captcha image.
|
Editor |
getEditor()
This is a bit backwards, because the editor wraps this
EditorContent . |
com.atlassian.pageobjects.elements.query.TimedQuery<String> |
getPreviewText() |
CommentsSection.UserLogo |
getUserProfile() |
com.atlassian.pageobjects.elements.query.TimedCondition |
isSaveBarVisible()
Condition waits for the editor save bar to load
|
com.atlassian.pageobjects.elements.query.TimedCondition |
isSaveButtonDisplayedInScreen() |
com.atlassian.pageobjects.elements.query.TimedCondition |
isWarningMessageVisible() |
com.atlassian.pageobjects.elements.query.TimedCondition |
loadingContainerVisibleCondition() |
EditorPreview |
preview()
Preview a comment in the quick editor
|
com.atlassian.pageobjects.elements.query.TimedCondition |
previewVisibleCondition()
Checks to see if preview pane is showing
|
ViewPage |
save() |
void |
saveWithoutReload()
Deprecated.
Use
save() instead |
ViewPage |
saveWithReload()
Deprecated.
Use
save() instead |
void |
waitForEditorClosed() |
void |
waitForTinyMCE()
Wait for the TinyMCE editor in the comments section to be ready, as we'd get JS errors otherwise
if we try to insert text too early.
|
boolean |
watchThisPageCheckboxVisibleCondition()
Deprecated.
|
com.atlassian.pageobjects.elements.query.TimedCondition |
watchThisPageCheckboxVisibleTimedCondition() |
autocompleteMacro, clear, clickEditInlineMacro, clickInContent, clickOnInlinetask, doubleClickEditInlineMacro, elementSelectionNumberOfMatches, focus, getAttributeInSelection, getContainerSize, getCurrentSearchMatchText, getEditorVersion, getEmbeddedImages, getEmbededLinks, getHtml, getImageHeight, getInnerHTMLOfCurrentCursorPosition, getRenderedContent, getSelectorParentText, getTextInSelection, getTimedHtml, getTimedNormalizedHtml, hasInlineMacro, hasLayout, hasMacro, hasMacro, hasMacroPlaceholder, hasPageLinkWithExplicitSpaceKey, htmlContains, isContentVisible, isElementPresentInEditorContentTimed, isImagePresent, isImagePresentBySrc, isVisble, isVisible, macroPlaceholderFor, mentionsAutocomplete, normalizedHtmlContains, normalizeHtml, pasteContent, placeCursor, placeCursorAtEnd, placeCursorAtStart, putCursorAtStartOfElementWithSelectorAndIndex, select, selectElementWithSelectorAndIndex, selectFirstElementWithSelector, selectFirstParagraph, sendKeys, setContent, setContentInColumn, setContentViaJs, type, typeIn, typeInColumn, typeWithoutLosingFocus, undo, waitForInlineMacro, waitForInlineMacroWithDefaultParameter, waitForInlineMacroWithParameters, waitForMacroBody, waitForMacroBodyInColumn, waitForMacroWithParameters, waitForMacroWithParameters, waitForTextContent, waitUntilMetaDataIsPopulated
public void waitForTinyMCE()
public void editUsingShortcut()
public com.atlassian.pageobjects.elements.query.TimedCondition isSaveButtonDisplayedInScreen()
public com.atlassian.pageobjects.elements.query.TimedCondition isWarningMessageVisible()
public com.atlassian.pageobjects.elements.query.TimedCondition loadingContainerVisibleCondition()
@Deprecated public void saveWithoutReload()
save()
instead@Deprecated public ViewPage saveWithReload()
save()
insteadpublic ViewPage save()
public void clickSave()
public com.atlassian.pageobjects.elements.query.TimedCondition isSaveBarVisible()
public EditorPreview preview()
public ViewPage cancel()
public void waitForEditorClosed()
public ViewPage cancelWithDirtyEditor()
public void cancelWithoutWaitForBind()
public com.atlassian.pageobjects.elements.query.TimedCondition previewVisibleCondition()
public com.atlassian.pageobjects.elements.query.TimedQuery<String> getPreviewText()
@Deprecated public boolean watchThisPageCheckboxVisibleCondition()
public com.atlassian.pageobjects.elements.query.TimedCondition watchThisPageCheckboxVisibleTimedCondition()
public String getCaptchaUrl()
public com.atlassian.pageobjects.elements.query.TimedCondition captchaVisibleCondition()
public void enterCaptcha(String captcha)
public Editor getEditor()
EditorContent
.public CommentsSection.UserLogo getUserProfile()
Copyright © 2003–2020 Atlassian. All rights reserved.