diff --git a/webapp/components/NotificationsTable/NotificationsTable.spec.js b/webapp/components/NotificationsTable/NotificationsTable.spec.js index 80095666f..ef4e19b01 100644 --- a/webapp/components/NotificationsTable/NotificationsTable.spec.js +++ b/webapp/components/NotificationsTable/NotificationsTable.spec.js @@ -89,8 +89,8 @@ describe('NotificationsTable.vue', () => { }) it('renders the author', () => { - const username = firstRowNotification.find('.username') - expect(username.text()).toEqual(postNotification.from.author.name) + const userinfo = firstRowNotification.find('.user-teaser > .info') + expect(userinfo.text()).toContain(postNotification.from.author.name) }) it('renders the reason for the notification', () => { @@ -122,8 +122,8 @@ describe('NotificationsTable.vue', () => { }) it('renders the author', () => { - const username = secondRowNotification.find('.username') - expect(username.text()).toEqual(commentNotification.from.author.name) + const userinfo = secondRowNotification.find('.user-teaser > .info') + expect(userinfo.text()).toContain(commentNotification.from.author.name) }) it('renders the reason for the notification', () => { diff --git a/webapp/components/features/ReportRow/ReportRow.vue b/webapp/components/features/ReportRow/ReportRow.vue index cd23d2ae2..72fd8d24e 100644 --- a/webapp/components/features/ReportRow/ReportRow.vue +++ b/webapp/components/features/ReportRow/ReportRow.vue @@ -19,11 +19,7 @@