public static class CommentsSection.Comment extends Object
Modifier and Type | Field and Description |
---|---|
protected com.atlassian.pageobjects.PageBinder |
pageBinder |
Constructor and Description |
---|
Comment(com.atlassian.pageobjects.elements.PageElement commentElement) |
Modifier and Type | Method and Description |
---|---|
EditorContent |
clickEdit()
|
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() |
public Comment(com.atlassian.pageobjects.elements.PageElement commentElement)
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()
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()
Copyright © 2003–2016 Atlassian. All rights reserved.