From 91207c5a3c2f54563ede83c9729426083d882585 Mon Sep 17 00:00:00 2001 From: vicent Date: Tue, 23 May 2023 13:33:27 +0200 Subject: [PATCH] refs #5468 fix: test e2e --- db/changes/232201/00-aclRole.sql | 4 +++- e2e/helpers/selectors.js | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/db/changes/232201/00-aclRole.sql b/db/changes/232201/00-aclRole.sql index 58f013c44..3e5119b06 100644 --- a/db/changes/232201/00-aclRole.sql +++ b/db/changes/232201/00-aclRole.sql @@ -1,4 +1,6 @@ DELETE FROM `salix`.`ACL` WHERE model = 'Role'; INSERT INTO `salix`.`ACL` (`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`) VALUES - ('Role', '*', 'READ', 'ALLOW', 'ROLE', 'employee'); + ('Role', '*', 'READ', 'ALLOW', 'ROLE', 'employee'), + ('Role', '*', 'WRITE', 'ALLOW', 'ROLE', 'hr'), + ('Role', '*', 'WRITE', 'ALLOW', 'ROLE', 'marketing'); diff --git a/e2e/helpers/selectors.js b/e2e/helpers/selectors.js index b19db24d7..8bf880639 100644 --- a/e2e/helpers/selectors.js +++ b/e2e/helpers/selectors.js @@ -104,7 +104,7 @@ export default { }, accountMailForwarding: { mailForwardingCheckbox: 'vn-user-mail-forwarding vn-check[ng-model="watcher.hasData"]', - email: 'vn-user-mail-forwarding vn-textfield[ng-model="data.forwardTo"]', + email: 'vn-user-mail-forwarding vn-textfield[ng-model="$ctrl.data.forwardTo"]', save: 'vn-user-mail-forwarding vn-submit' }, accountAcl: {