Browse Source

test/cypress: UI corrections

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/1894/head
Raju Udava 2 years ago
parent
commit
f220fb65bb
  1. 4
      scripts/cypress/integration/spec/roleValidation.spec.js

4
scripts/cypress/integration/spec/roleValidation.spec.js

@ -214,7 +214,7 @@ export function _editComment(roleType, previewMode) {
// Rest: can create/edit // Rest: can create/edit
export function _viewMenu(roleType, previewMode) { export function _viewMenu(roleType, previewMode) {
let columnName = "City"; let columnName = "City";
let navDrawListCnt = 1; let navDrawListCnt = 2;
// Download CSV // Download CSV
let actionsMenuItemsCnt = 1; let actionsMenuItemsCnt = 1;
@ -231,7 +231,7 @@ export function _viewMenu(roleType, previewMode) {
// Owner, Creator will have two navigation drawer (on each side of center panel) // Owner, Creator will have two navigation drawer (on each side of center panel)
if (roleType == "owner" || roleType == "creator") { if (roleType == "owner" || roleType == "creator") {
navDrawListCnt = 2; navDrawListCnt = 3;
// Download CSV / Upload CSV / Shared View List / Webhook // Download CSV / Upload CSV / Shared View List / Webhook
actionsMenuItemsCnt = 4; actionsMenuItemsCnt = 4;
} else if (roleType == "editor") { } else if (roleType == "editor") {

Loading…
Cancel
Save