diff --git a/core/src/components/UserMenu/UserMenuEntry.vue b/core/src/components/AccountMenu/AccountMenuEntry.vue
similarity index 51%
rename from core/src/components/UserMenu/UserMenuEntry.vue
rename to core/src/components/AccountMenu/AccountMenuEntry.vue
index 8e9a2d4494c..47ce884fc2b 100644
--- a/core/src/components/UserMenu/UserMenuEntry.vue
+++ b/core/src/components/AccountMenu/AccountMenuEntry.vue
@@ -4,36 +4,39 @@
-->
-
+
diff --git a/core/src/components/UserMenu/ProfileUserMenuEntry.vue b/core/src/components/AccountMenu/AccountMenuProfileEntry.vue
similarity index 52%
rename from core/src/components/UserMenu/ProfileUserMenuEntry.vue
rename to core/src/components/AccountMenu/AccountMenuProfileEntry.vue
index 1e203c85b27..853c22986ce 100644
--- a/core/src/components/UserMenu/ProfileUserMenuEntry.vue
+++ b/core/src/components/AccountMenu/AccountMenuProfileEntry.vue
@@ -4,38 +4,38 @@
-->
-
+
+
+ {{ name }}
+
+
+
+
+
-
-
-
diff --git a/core/src/components/UserMenu.js b/core/src/components/UserMenu.js
index 94fa8e62ab5..37895bb6166 100644
--- a/core/src/components/UserMenu.js
+++ b/core/src/components/UserMenu.js
@@ -5,7 +5,7 @@
import Vue from 'vue'
-import UserMenu from '../views/UserMenu.vue'
+import AccountMenu from '../views/AccountMenu.vue'
export const setUp = () => {
const mountPoint = document.getElementById('user-menu')
@@ -13,7 +13,7 @@ export const setUp = () => {
// eslint-disable-next-line no-new
new Vue({
el: mountPoint,
- render: h => h(UserMenu),
+ render: h => h(AccountMenu),
})
}
}
diff --git a/core/src/views/AccountMenu.vue b/core/src/views/AccountMenu.vue
new file mode 100644
index 00000000000..1eef398e087
--- /dev/null
+++ b/core/src/views/AccountMenu.vue
@@ -0,0 +1,238 @@
+
+
+
+
+
+
+
+
diff --git a/core/src/views/UserMenu.vue b/core/src/views/UserMenu.vue
deleted file mode 100644
index 1351743dd05..00000000000
--- a/core/src/views/UserMenu.vue
+++ /dev/null
@@ -1,259 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/cypress/e2e/settings/access-levels.cy.ts b/cypress/e2e/settings/access-levels.cy.ts
index 80cea4eb1c7..4bf0cbc1832 100644
--- a/cypress/e2e/settings/access-levels.cy.ts
+++ b/cypress/e2e/settings/access-levels.cy.ts
@@ -23,7 +23,9 @@ describe('Settings: Ensure only administrator can see the administration setting
// I open the settings menu
getNextcloudUserMenuToggle().click()
// I navigate to the settings panel
- getNextcloudUserMenu().find('#settings a').click()
+ getNextcloudUserMenu()
+ .findByRole('link', { name: /settings/i })
+ .click()
cy.url().should('match', /\/settings\/user$/)
cy.get('#app-navigation').should('be.visible').within(() => {
@@ -45,7 +47,9 @@ describe('Settings: Ensure only administrator can see the administration setting
// I open the settings menu
getNextcloudUserMenuToggle().click()
// I navigate to the settings panel
- getNextcloudUserMenu().find('#settings a').click()
+ getNextcloudUserMenu()
+ .findByRole('link', { name: /Personal settings/i })
+ .click()
cy.url().should('match', /\/settings\/user$/)
cy.get('#app-navigation').should('be.visible').within(() => {