[MNT-22236] update e2e to reflect permission i18n support (#6852)

* update e2e to reflect permission i18n support

* use latest js-api SitesApi

* remove use of deprecated sites api in e2e

* fix test

* fix test
This commit is contained in:
Denys Vuika
2021-03-24 20:51:01 +00:00
committed by GitHub
parent cd0587dcfd
commit 6ec9833b36
21 changed files with 194 additions and 87 deletions

View File

@@ -146,6 +146,14 @@ exports.CS_USER_ROLES = {
MANAGER: 'SiteManager'
};
// en-US version of the Site Role titles
exports.CS_USER_ROLES_I18N = {
CONSUMER: 'Site Consumer',
COLLABORATOR: 'Site Collaborator',
CONTRIBUTOR: 'Site Contributor',
MANAGER: 'Site Manager'
}
exports.SERVICE_TASK_STATUS = {
ALL:'ALL',
STARTED:'STARTED',