Skip to content

CommentSidebarPage

reference
1 min readUpdated

Kind: Class

Source: atloria-monorepo/apps/web-e2e/src/pages/comments.page.ts

Comment sidebar page object

Extends: BasePage

Methods

MethodSignatureReturns
gotogoto()Promise<void>
isVisibleisVisible()Promise<boolean>
waitForLoadwaitForLoad()Promise<void>
getCommentThreadsgetCommentThreads()Locator
getCommentByContentgetCommentByContent(content: string)Locator
getCommentCountgetCommentCount()Promise<number>
addCommentaddComment(content: string)Promise<void>
replyToCommentreplyToComment(commentContent: string, replyContent: string)Promise<void>
resolveCommentresolveComment(commentContent: string)Promise<void>
unresolveCommentunresolveComment(commentContent: string)Promise<void>
deleteCommentdeleteComment(commentContent: string)Promise<void>
isCommentResolvedisCommentResolved(commentContent: string)Promise<boolean>
getActiveCommentCountgetActiveCommentCount()Promise<number>
getResolvedCommentCountgetResolvedCommentCount()Promise<number>
hasNoCommentshasNoComments()Promise<boolean>
addCommentWithMentionaddCommentWithMention(content: string, mentionUsername: string)Promise<void>
getRepliesgetReplies(commentContent: string)Locator
getReplyCountgetReplyCount(commentContent: string)Promise<number>

Properties

PropertyType
sidebarLocator
headerLocator
commentListLocator
newCommentFormLocator
commentInputLocator
submitButtonLocator
emptyStateLocator
activeCountLocator
resolvedCountLocator
loadingSpinnerLocator

Was this page helpful?

Download as PDF