Class AddCommentSection
java.lang.Object
com.atlassian.jira.pageobjects.pages.viewissue.AddCommentSection
- Direct Known Subclasses:
AddCommentSectionRte
Represents add comment section on view issue page.
- Since:
- v5.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.atlassian.pageobjects.elements.PageElementprotected com.atlassian.pageobjects.elements.PageElementprotected com.atlassian.pageobjects.elements.PageElementprotected com.atlassian.pageobjects.elements.PageElementprotected com.atlassian.pageobjects.PageBinderprotected com.atlassian.pageobjects.elements.PageElementprotected com.atlassian.pageobjects.elements.PageElementprotected org.openqa.selenium.WebDriver -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdds a commentcancel()voidComment errors get displayed on the dialog.Deprecated.com.atlassian.pageobjects.elements.query.TimedQuery<String> Deprecated.UsegetInputTimed()getInput()com.atlassian.pageobjects.elements.query.TimedQuery<String> booleancom.atlassian.pageobjects.elements.query.TimedQuery<Boolean> mentions()Deprecated.UsegetMentions()selectMention(String userId) typeComment(CharSequence... text) Deprecated.typeInput(CharSequence... text)
-
Field Details
-
webDriver
@Inject protected org.openqa.selenium.WebDriver 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 -
previewLink
protected com.atlassian.pageobjects.elements.PageElement previewLink -
securityLevel
protected com.atlassian.pageobjects.elements.PageElement securityLevel
-
-
Constructor Details
-
AddCommentSection
-
-
Method Details
-
typeComment
Deprecated. -
getComment
Deprecated.UsegetInput() -
getCommentTimed
Deprecated.UsegetInputTimed() -
mentions
Deprecated.UsegetMentions() -
selectMention
-
typeInput
-
getInput
-
getInputTimed
-
getMentions
-
addComment
Adds a comment -
addWithErrors
-
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
-
cancelNoWait
public void cancelNoWait() -
isInPreviewMode
-
previewMode
-
getSecurityLevelControl
-
getSecurityLevelError
-
isAddCommentPossible
public boolean isAddCommentPossible()
-
getInput()