From 01c866758f5fcb65ad226fdc0d9c96e089cc0bd1 Mon Sep 17 00:00:00 2001 From: Muhammed Mustafa Date: Fri, 22 Sep 2023 15:23:20 +0000 Subject: [PATCH] fix: Integrated view sidebar removal to tests --- .../dashboard/TreeView/CreateViewBtn.vue | 8 +-- .../dashboard/TreeView/ProjectNode.vue | 6 ++- .../dashboard/TreeView/TableList.vue | 1 - .../dashboard/TreeView/TableNode.vue | 9 ++-- .../dashboard/TreeView/ViewsList.vue | 5 +- .../dashboard/TreeView/ViewsNode.vue | 8 +-- packages/nc-gui/components/nc/Select.vue | 4 +- packages/nc-gui/lib/acl.ts | 1 + .../pages/Dashboard/Sidebar/index.ts | 46 ++++++++++++++++- .../pages/Dashboard/ViewSidebar/index.ts | 51 ++++++++----------- tests/playwright/pages/Dashboard/index.ts | 4 ++ .../db/columns/columnAttachments.spec.ts | 2 +- .../tests/db/features/undo-redo.spec.ts | 4 +- .../playwright/tests/db/general/views.spec.ts | 16 +++--- .../tests/db/views/viewForm.spec.ts | 4 +- .../tests/db/views/viewKanban.spec.ts | 8 +-- 16 files changed, 112 insertions(+), 65 deletions(-) diff --git a/packages/nc-gui/components/dashboard/TreeView/CreateViewBtn.vue b/packages/nc-gui/components/dashboard/TreeView/CreateViewBtn.vue index ac5369ceab..fcf4eb6675 100644 --- a/packages/nc-gui/components/dashboard/TreeView/CreateViewBtn.vue +++ b/packages/nc-gui/components/dashboard/TreeView/CreateViewBtn.vue @@ -71,7 +71,7 @@ function onOpenModal({