|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.pageobjects.page.content.CommentsSection.Comment
public static class CommentsSection.Comment
Represents a comment in view mode
Field Summary | |
---|---|
protected com.atlassian.pageobjects.PageBinder |
pageBinder
|
Constructor Summary | |
---|---|
CommentsSection.Comment(com.atlassian.pageobjects.elements.PageElement commentElement)
|
Method Summary | |
---|---|
EditorContent |
clickEdit()
Deprecated. since 5.5, use edit() , which returns an Editor instead. |
void |
clickEditWithoutWaitForBind()
|
EditorContent |
clickReply()
Deprecated. since 5.5, use reply() , which returns an CommentsSection.NewComment instead. |
void |
clickReplyWithoutWaitForBind()
Simply click the reply button and do not wait for a page object to be binded to the new editor. |
com.atlassian.pageobjects.elements.query.TimedCondition |
contentContains(String text)
Returns true if the comment content contains the specific content |
Editor |
edit()
Edit the comment. |
String |
getCommentId()
|
com.atlassian.pageobjects.elements.query.TimedQuery<String> |
getContent()
|
LikeSection |
getLikeSection()
|
CommentsSection.QuickEdit |
quickEdit()
Edit the comment without reloading page |
CommentsSection.NewReply |
reply()
|
CommentsSection.NewReply |
replyWithFallback()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@Inject protected com.atlassian.pageobjects.PageBinder pageBinder
Constructor Detail |
---|
public CommentsSection.Comment(com.atlassian.pageobjects.elements.PageElement commentElement)
Method Detail |
---|
public String getCommentId()
public com.atlassian.pageobjects.elements.query.TimedCondition contentContains(String text)
public com.atlassian.pageobjects.elements.query.TimedQuery<String> getContent()
public EditorContent clickReply()
reply()
, which returns an CommentsSection.NewComment
instead.
EditorContent
, which is not really what you want.public void clickReplyWithoutWaitForBind()
public CommentsSection.NewReply reply()
CommentsSection.NewReply
public CommentsSection.NewReply replyWithFallback()
CommentsSection.NewReply
@Deprecated public EditorContent clickEdit()
edit()
, which returns an Editor
instead.
EditorContent
, which is not really what you want.public void clickEditWithoutWaitForBind()
public Editor edit()
clickEdit()
is better named but doesn't return
an Editor
. edit()
can be renamed eventually.
public CommentsSection.QuickEdit quickEdit()
CommentsSection.QuickEdit
public LikeSection getLikeSection()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |