mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-5235] Facet fix and improve search test (#6122)
* improve search test * fix * fix * fix * changes * modify * logout public URL * improve stability some e2e * fx lint * fix * fix * improve * fix * improve * fix * fix * fix * fix [skip ci] * fix * some fix [skip ci] * fix * fix lint * fix * fix * fix * fix * fix * fix * fix * fix * fix * convert C291893 in manual test case in testrail * fix * fix
This commit is contained in:
@@ -46,6 +46,7 @@ describe('Start Task - Group Cloud Component', () => {
|
||||
const apiService = new ApiService();
|
||||
const identityService = new IdentityService(apiService);
|
||||
const groupIdentityService = new GroupIdentityService(apiService);
|
||||
const rolesService = new RolesService(apiService);
|
||||
|
||||
const bothGroupsTaskName = StringUtil.generateRandomString(5);
|
||||
const oneGroupTaskName = StringUtil.generateRandomString(5);
|
||||
@@ -58,9 +59,8 @@ describe('Start Task - Group Cloud Component', () => {
|
||||
apsUser = await identityService.createIdentityUser();
|
||||
|
||||
hrGroup = await groupIdentityService.getGroupInfoByGroupName('hr');
|
||||
testGroup = await groupIdentityService.getGroupInfoByGroupName('testgroup');
|
||||
testGroup = await groupIdentityService.createIdentityGroup();
|
||||
|
||||
const rolesService = new RolesService(apiService);
|
||||
const apsAdminRoleId = await rolesService.getRoleIdByRoleName(identityService.ROLES.ACTIVITI_USER);
|
||||
await groupIdentityService.assignRole(testGroup.id, apsAdminRoleId, identityService.ROLES.ACTIVITI_USER);
|
||||
|
||||
|
Reference in New Issue
Block a user