public static class CommentsSection.EditComment extends EditorContent
Modifier and Type | Field and Description |
---|---|
protected org.openqa.selenium.WebDriver |
driver |
binder, execute, page
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 |
setWatchThisPageCheckbox(boolean watch)
Set the 'watch this page' checkbox to the specified state.
|
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 |
watchThisPageCheckboxCheckedCondition()
Checks to see if Watch this page checkbox is visible and checked in the quick editor
|
boolean |
watchThisPageCheckboxVisibleCondition()
Deprecated.
|
com.atlassian.pageobjects.elements.query.TimedCondition |
watchThisPageCheckboxVisibleTimedCondition() |
autocompleteMacro, clear, clickEditInlineMacro, clickInContent, clickOnInlinetask, doubleClickEditInlineMacro, doubleClickEditWysiwygMacro, doubleClickInContent, elementSelectionNumberOfMatches, focus, getAttributeInSelection, getClassNameOfCurrentCursor, getContainerSize, getCurrentSearchMatchText, getCurrentSelectionText, getCurrentSelectionTextTimed, getEmbeddedImages, getEmbededLinks, getHtml, getImageHeight, getImageWidth, getInnerHTMLOfCurrentCursorPosition, getRenderedContent, getSelectorParentText, getTextInSelection, getTimedHtml, getTimedNormalizedHtml, hasInlineMacro, hasLayout, hasMacro, hasMacro, hasMacroPlaceholder, hasPageLinkWithExplicitSpaceKey, htmlContains, isContentVisible, isElementPresentInEditorContentTimed, isImageEmbedded, isImagePresent, isImagePresentBySrc, isVisble, isVisible, macroPlaceholderFor, mentionsAutocomplete, normalizedHtmlContains, normalizeHtml, pasteContent, placeCursor, placeCursorAtEnd, placeCursorAtStart, putCursorAtEndOfFirstElementWithSelector, putCursorAtStartOfElementWithSelectorAndIndex, putCursorAtStartOfFirstElementWithSelector, redo, replaceCurrentSelectionChildContent, replaceCurrentSelectionChildContentWithHtml, replaceCurrentSelectionText, select, selectElementWithSelectorAndIndex, selectFirstElementWithSelector, selectFirstParagraph, sendKeys, setContent, setContentInColumn, setContentViaJs, type, typeIn, typeInColumn, typeWithoutLosingFocus, undo, waitForInlineMacro, waitForInlineMacroWithDefaultParameter, waitForInlineMacroWithParameters, waitForMacro, 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 boolean watchThisPageCheckboxCheckedCondition()
public void setWatchThisPageCheckbox(boolean watch)
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–2017 Atlassian. All rights reserved.