diff --git a/packages/nc-gui/components/project/spreadsheet/components/moreActions.vue b/packages/nc-gui/components/project/spreadsheet/components/moreActions.vue index 46441815ff..dfeda8ca45 100644 --- a/packages/nc-gui/components/project/spreadsheet/components/moreActions.vue +++ b/packages/nc-gui/components/project/spreadsheet/components/moreActions.vue @@ -63,7 +63,7 @@ * @author Pranav C Balan + * @author Wing-Kam Wong * * @license GNU AGPL version 3 or any later version * diff --git a/scripts/cypress/integration/spec/roleValidation.spec.js b/scripts/cypress/integration/spec/roleValidation.spec.js index dddaaee322..e4412d015e 100644 --- a/scripts/cypress/integration/spec/roleValidation.spec.js +++ b/scripts/cypress/integration/spec/roleValidation.spec.js @@ -215,6 +215,7 @@ export function _editComment(roleType, previewMode) { export function _viewMenu(roleType, previewMode) { let columnName = "City"; let navDrawListCnt = 1; + // Download CSV let actionsMenuItemsCnt = 1; cy.openTableTab(columnName, 25); @@ -231,7 +232,11 @@ export function _viewMenu(roleType, previewMode) { // Owner, Creator will have two navigation drawer (on each side of center panel) if (roleType == "owner" || roleType == "creator") { navDrawListCnt = 2; + // Download CSV / Upload CSV / Shared View List / Webhook actionsMenuItemsCnt = 4; + } else if (roleType == "editor") { + // Download CSV / Upload CSV + actionsMenuItemsCnt = 2; } cy.get(".v-navigation-drawer__content")