public static class CommentsSection.Comment extends Object
Modifier and Type | Field and Description |
---|---|
protected org.openqa.selenium.WebDriver |
driver |
protected com.atlassian.pageobjects.PageBinder |
pageBinder |
Constructor and Description |
---|
Comment(com.atlassian.pageobjects.elements.PageElement commentElement) |
Modifier and Type | Method and Description |
---|---|
void |
clickEditWithoutWaitForBind() |
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
|
void |
delete()
Delete the comment
|
Editor |
edit()
Edit the comment.
|
String |
getCommentId() |
com.atlassian.pageobjects.elements.query.TimedQuery<String> |
getContent() |
LikeSection |
getLikeSection() |
com.atlassian.pageobjects.elements.query.TimedCondition |
isLikeContainerPresent()
Checks whether like action or like button is available.
|
CommentsSection.QuickEdit |
quickEdit()
Edit the comment without reloading page
|
CommentsSection.NewReply |
reply() |
CommentsSection.NewReply |
replyWithFallback() |
@Inject protected com.atlassian.pageobjects.PageBinder pageBinder
@Inject protected org.openqa.selenium.WebDriver driver
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 void clickReplyWithoutWaitForBind()
public CommentsSection.NewReply reply()
CommentsSection.NewReply
public CommentsSection.NewReply replyWithFallback()
CommentsSection.NewReply
public void clickEditWithoutWaitForBind()
public Editor edit()
public void delete()
public CommentsSection.QuickEdit quickEdit()
CommentsSection.QuickEdit
public LikeSection getLikeSection()
public com.atlassian.pageobjects.elements.query.TimedCondition isLikeContainerPresent()
Copyright © 2003–2017 Atlassian. All rights reserved.