- Add data-testid for page comment button and open comment editor button
@@ -230,6 +230,7 @@ export const CommentEditor = (props: CommentEditorProps): JSX.Element => {
type="button"
className="btn btn-lg btn-link"
onClick={() => setIsReadyToUse(true)}
+ data-testid="openCommentEditorButton"
>
<i className="icon-bubble"></i> Add Comment
</button>
@@ -60,6 +60,7 @@ export const PageSideContents = (props: PageSideContentsProps): JSX.Element => {
<button
className="btn btn-block btn-outline-secondary grw-btn-page-accessories rounded-pill d-flex justify-content-between align-items-center"
<i className="icon-fw icon-bubbles grw-page-accessories-control-icon"></i>
<span>Comments</span>