From 8aab03565df40d3b6c810a006fd621b0a755d9ef Mon Sep 17 00:00:00 2001 From: Muhammed Mustafa Date: Wed, 21 Sep 2022 13:28:25 +0530 Subject: [PATCH] feat(nc-gui): Integrated menuWithoutSubmenuCount in the case of Shared base in roleValidation test --- scripts/cypress/integration/spec/roleValidation.spec.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/cypress/integration/spec/roleValidation.spec.js b/scripts/cypress/integration/spec/roleValidation.spec.js index 4d8f92f125..4edf81f94b 100644 --- a/scripts/cypress/integration/spec/roleValidation.spec.js +++ b/scripts/cypress/integration/spec/roleValidation.spec.js @@ -267,7 +267,8 @@ export function _viewMenu(roleType, mode) { menuWithSubmenuCount = 2; // Get API Snippet and ERD menuWithoutSubmenuCount = 2 - if(mode === 'baseShare') menuWithoutSubmenuCount = 0 + // ERD + if(mode === 'baseShare') menuWithoutSubmenuCount = 1 } else if (roleType === "commenter" || roleType === "viewer") { // Download CSV & Download excel menuWithSubmenuCount = 0;