diff --git a/src/core/client/stream/test/comments/components/CommentContainer.spec.tsx b/src/core/client/stream/test/comments/components/CommentContainer.spec.tsx index 8311cfc920..020f091479 100644 --- a/src/core/client/stream/test/comments/components/CommentContainer.spec.tsx +++ b/src/core/client/stream/test/comments/components/CommentContainer.spec.tsx @@ -61,7 +61,7 @@ it("renders username and body", async () => { }, }); - const firstComment = stories[0].comments.edges[0].node; + const firstComment = singleCommentStory.comments.edges[0].node; const commentElement = await within(container).findByTestId( `comment-${firstComment.id}` );