|
|
@ -207,9 +207,10 @@ export function _viewMenu(roleType, previewMode) { |
|
|
|
// mainPage.shareView().should(validationString);
|
|
|
|
// mainPage.shareView().should(validationString);
|
|
|
|
// mainPage.automations().should(validationString);
|
|
|
|
// mainPage.automations().should(validationString);
|
|
|
|
|
|
|
|
|
|
|
|
// fix me! disabled for now
|
|
|
|
// share view permissions are role specific
|
|
|
|
// cy.get('.nc-btn-share-view').should(validationString);
|
|
|
|
cy.get('.nc-btn-share-view').should(validationString); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// actions menu (more), only download csv should be visible for non-previlaged users
|
|
|
|
cy.get('.nc-actions-menu-btn').click(); |
|
|
|
cy.get('.nc-actions-menu-btn').click(); |
|
|
|
cy.getActiveMenu().find('[role="menuitem"]').should("have.length", actionsMenuItemsCnt); |
|
|
|
cy.getActiveMenu().find('[role="menuitem"]').should("have.length", actionsMenuItemsCnt); |
|
|
|
} |
|
|
|
} |
|
|
|