public class AddCommentSection extends Object
Modifier and Type | Field and Description |
---|---|
protected com.atlassian.pageobjects.elements.PageElement |
add |
protected com.atlassian.pageobjects.elements.PageElement |
cancel |
protected com.atlassian.pageobjects.elements.PageElement |
comment |
protected com.atlassian.pageobjects.elements.PageElement |
commentForm |
protected com.atlassian.pageobjects.PageBinder |
pageBinder |
protected com.atlassian.pageobjects.elements.PageElement |
previewLink |
protected com.atlassian.webdriver.AtlassianWebDriver |
webDriver |
Constructor and Description |
---|
AddCommentSection(ViewIssuePage parent) |
Modifier and Type | Method and Description |
---|---|
ViewIssuePage |
addAndWait()
Adds and waits for issue to refresh
|
String |
addWithErrors() |
ViewIssuePage |
cancel() |
AddCommentSection |
closeErrors()
Comment errors get displayed on the dialog.
|
String |
getComment() |
com.atlassian.pageobjects.elements.query.TimedQuery<String> |
getCommentTimed() |
com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> |
isInPreviewMode() |
MentionsUserPicker |
mentions() |
AddCommentSection |
previewMode() |
AddCommentSection |
selectMention(String userId) |
AddCommentSection |
typeComment(CharSequence... text) |
@Inject protected com.atlassian.webdriver.AtlassianWebDriver webDriver
@Inject protected com.atlassian.pageobjects.PageBinder pageBinder
protected com.atlassian.pageobjects.elements.PageElement comment
protected com.atlassian.pageobjects.elements.PageElement commentForm
protected com.atlassian.pageobjects.elements.PageElement add
protected com.atlassian.pageobjects.elements.PageElement cancel
protected com.atlassian.pageobjects.elements.PageElement previewLink
public AddCommentSection(ViewIssuePage parent)
public AddCommentSection typeComment(CharSequence... text)
public String getComment()
public com.atlassian.pageobjects.elements.query.TimedQuery<String> getCommentTimed()
public MentionsUserPicker mentions()
public AddCommentSection selectMention(String userId)
public ViewIssuePage addAndWait()
public String addWithErrors()
public AddCommentSection closeErrors()
public ViewIssuePage cancel()
public com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> isInPreviewMode()
public AddCommentSection previewMode()
Copyright © 2002-2016 Atlassian. All Rights Reserved.