diff --git a/webapp/components/comments/CommentList/CommentList.spec.js b/webapp/components/comments/CommentList/CommentList.spec.js index b15e4f7d6..503c0fe6d 100644 --- a/webapp/components/comments/CommentList/CommentList.spec.js +++ b/webapp/components/comments/CommentList/CommentList.spec.js @@ -86,7 +86,7 @@ describe('CommentList.vue', () => { }) it('displays comments when there are comments to display', () => { - expect(wrapper.find('div#comments').text()).toEqual('this is a comment') + expect(wrapper.find('div.comments').text()).toEqual('this is a comment') }) it("refetches a post's comments from the backend", () => { diff --git a/webapp/components/comments/CommentList/index.vue b/webapp/components/comments/CommentList/index.vue index c70c00c85..26118e745 100644 --- a/webapp/components/comments/CommentList/index.vue +++ b/webapp/components/comments/CommentList/index.vue @@ -1,5 +1,5 @@