diff --git a/cypress/integration/UserProfile.Avatar/I_cannot_upload_a_picture.js b/cypress/integration/UserProfile.Avatar/I_cannot_upload_a_picture.js index d20a181f2..8b501f3f5 100644 --- a/cypress/integration/UserProfile.Avatar/I_cannot_upload_a_picture.js +++ b/cypress/integration/UserProfile.Avatar/I_cannot_upload_a_picture.js @@ -4,5 +4,5 @@ Then("I cannot upload a picture", () => { cy.get(".base-card") .children() .should("not.have.id", "customdropzone") - .should("have.class", "user-avatar"); + .should("have.class", "profile-avatar"); }); \ No newline at end of file diff --git a/webapp/components/AvatarMenu/AvatarMenu.spec.js b/webapp/components/AvatarMenu/AvatarMenu.spec.js index 8a0c17434..77de68de4 100644 --- a/webapp/components/AvatarMenu/AvatarMenu.spec.js +++ b/webapp/components/AvatarMenu/AvatarMenu.spec.js @@ -42,7 +42,7 @@ describe('AvatarMenu.vue', () => { wrapper = Wrapper() }) - it('renders the UserAvatar component', () => { + it('renders the ProfileAvatar component', () => { wrapper.find('.avatar-menu-trigger').trigger('click') expect(wrapper.find('.profile-avatar').exists()).toBe(true) }) diff --git a/webapp/components/AvatarMenu/AvatarMenu.vue b/webapp/components/AvatarMenu/AvatarMenu.vue index 3a9bd558a..18c1676d3 100644 --- a/webapp/components/AvatarMenu/AvatarMenu.vue +++ b/webapp/components/AvatarMenu/AvatarMenu.vue @@ -11,7 +11,7 @@ " @click.prevent="toggleMenu" > - + @@ -50,12 +50,12 @@