From 0ef5adb66cbd931f358eb3826dd505c3d02ee1d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20Hu=C3=9F?= Date: Thu, 25 Jan 2024 12:57:12 +0100 Subject: [PATCH] Fix webapp tests --- webapp/components/AvatarMenu/AvatarMenu.spec.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/webapp/components/AvatarMenu/AvatarMenu.spec.js b/webapp/components/AvatarMenu/AvatarMenu.spec.js index be34c1804..7adedb034 100644 --- a/webapp/components/AvatarMenu/AvatarMenu.spec.js +++ b/webapp/components/AvatarMenu/AvatarMenu.spec.js @@ -113,9 +113,9 @@ describe('AvatarMenu.vue', () => { expect(settingsLink.exists()).toBe(true) }) - it('displays a total of 4 links', () => { + it('displays a total of 6 links', () => { const allLinks = wrapper.findAll('.ds-menu-item') - expect(allLinks).toHaveLength(4) + expect(allLinks).toHaveLength(6) }) }) @@ -139,9 +139,9 @@ describe('AvatarMenu.vue', () => { expect(moderationLink.exists()).toBe(true) }) - it('displays a total of 5 links', () => { + it('displays a total of 7 links', () => { const allLinks = wrapper.findAll('.ds-menu-item') - expect(allLinks).toHaveLength(5) + expect(allLinks).toHaveLength(7) }) }) @@ -165,9 +165,9 @@ describe('AvatarMenu.vue', () => { expect(adminLink.exists()).toBe(true) }) - it('displays a total of 6 links', () => { + it('displays a total of 8 links', () => { const allLinks = wrapper.findAll('.ds-menu-item') - expect(allLinks).toHaveLength(6) + expect(allLinks).toHaveLength(8) }) }) })