|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.pageobjects.component.editor.EditorContent com.atlassian.confluence.pageobjects.page.content.CommentsSection.NewComment
public static class CommentsSection.NewComment
Represents the editor for a new comment
Field Summary |
---|
Fields inherited from class com.atlassian.confluence.pageobjects.component.editor.EditorContent |
---|
binder, driver, execute, page |
Constructor Summary | |
---|---|
CommentsSection.NewComment()
|
Method Summary | |
---|---|
ViewPage |
cancel()
Cancel a comment in the quick editor |
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 |
enterCaptcha(java.lang.String captcha)
Enters text into the captcha field |
com.atlassian.pageobjects.elements.query.TimedCondition |
isSaveBarVisible()
Condition waits for the editor save bar to load |
void |
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 |
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()
Checks to see if Watch this page checkbox is present in the quick editor |
Methods inherited from class com.atlassian.confluence.pageobjects.component.editor.EditorContent |
---|
clear, clickInContent, getCurrentSelectionText, getHtml, getRenderedContent, getTimedHtml, hasLayout, macroPlaceholderFor, placeCursor, placeCursorAtStart, putCursorAtStartOfElementWithSelectorAndIndex, putCursorAtStartOfFirstElementWithSelector, replaceCurrentSelectionText, selectElementWithSelectorAndIndex, selectFirstElementWithSelector, selectFirstParagraph, setContent, setContentInColumn, setContentViaJs, type, typeIn, typeInColumn, typeInFooter, typeInHeader, waitForMacroBodyInColumn, waitForTextContent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommentsSection.NewComment()
Method Detail |
---|
public void waitForTinyMCE()
public ViewPage save()
public void clickSave()
public com.atlassian.pageobjects.elements.query.TimedCondition isSaveBarVisible()
public void preview()
public ViewPage cancel()
public com.atlassian.pageobjects.elements.query.TimedCondition previewVisibleCondition()
public boolean watchThisPageCheckboxVisibleCondition()
public com.atlassian.pageobjects.elements.query.TimedCondition captchaVisibleCondition()
public void enterCaptcha(java.lang.String captcha)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |