From 801fe85fb7bd2cc8c882816b13fc102e531b95a2 Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Tue, 4 Oct 2022 21:35:50 +0200 Subject: [PATCH] chore(nc-gui,tests): click brand icon to move to project list --- packages/nc-gui/layouts/base.vue | 1 + packages/nc-gui/pages/[projectType]/[projectId]/index.vue | 1 + scripts/cypress/integration/common/6h_change_password.js | 2 ++ 3 files changed, 4 insertions(+) diff --git a/packages/nc-gui/layouts/base.vue b/packages/nc-gui/layouts/base.vue index f8eab0160f..90104d00e4 100644 --- a/packages/nc-gui/layouts/base.vue +++ b/packages/nc-gui/layouts/base.vue @@ -44,6 +44,7 @@ hooks.hook('page:finish', () => {
diff --git a/packages/nc-gui/pages/[projectType]/[projectId]/index.vue b/packages/nc-gui/pages/[projectType]/[projectId]/index.vue index e92b11b5d0..4f8e7b8b7e 100644 --- a/packages/nc-gui/pages/[projectType]/[projectId]/index.vue +++ b/packages/nc-gui/pages/[projectType]/[projectId]/index.vue @@ -192,6 +192,7 @@ onBeforeUnmount(reset)
diff --git a/scripts/cypress/integration/common/6h_change_password.js b/scripts/cypress/integration/common/6h_change_password.js index c94204fba8..bfe867348d 100644 --- a/scripts/cypress/integration/common/6h_change_password.js +++ b/scripts/cypress/integration/common/6h_change_password.js @@ -8,6 +8,8 @@ export const genTest = (apiType, dbType) => { describe('User settings test', () => { it('Visit user settings', () => { + cy.get("[data-cy='nc-noco-brand-icon']").click(); + cy.get("[data-cy='nc-menu-accounts']").click(); cy.get("[data-cy='nc-menu-accounts__user-settings']").click();