com.atlassian.jira.pageobjects.pages.viewissue
Class AddCommentSection
java.lang.Object
com.atlassian.jira.pageobjects.pages.viewissue.AddCommentSection
public class AddCommentSection
- extends Object
Represents add comment section on view issue page.
- Since:
- v5.0
Field Summary |
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.webdriver.AtlassianWebDriver |
webDriver
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
webDriver
@Inject
protected com.atlassian.webdriver.AtlassianWebDriver webDriver
pageBinder
@Inject
protected com.atlassian.pageobjects.PageBinder pageBinder
comment
protected com.atlassian.pageobjects.elements.PageElement comment
commentForm
protected com.atlassian.pageobjects.elements.PageElement commentForm
add
protected com.atlassian.pageobjects.elements.PageElement add
cancel
protected com.atlassian.pageobjects.elements.PageElement cancel
AddCommentSection
public AddCommentSection(ViewIssuePage parent)
typeComment
public AddCommentSection typeComment(CharSequence... text)
getComment
public String getComment()
getCommentTimed
public com.atlassian.pageobjects.elements.query.TimedQuery<String> getCommentTimed()
mentions
public MentionsUserPicker mentions()
selectMention
public AddCommentSection selectMention(String userId)
addAndWait
public ViewIssuePage addAndWait()
- Adds and waits for issue to refresh
addWithErrors
public String addWithErrors()
closeErrors
public AddCommentSection closeErrors()
- Comment errors get displayed on the dialog. After receiving an error use this method to make sure the dialog
gets closed.
- Returns:
- this comment section
cancel
public ViewIssuePage cancel()
Copyright © 2002-2014 Atlassian. All Rights Reserved.