mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
move users in the users object to make loginWithProgile general purpose (#6270)
* move users in the users object to make loginWithProgile general puropose * add loginProfile in login page too * fix * fix * fix * fix * fix * fix * more fix * fix * fix * fix * change * fix script * fix
This commit is contained in:
@@ -56,7 +56,7 @@ describe('Task cloud visibility', async () => {
|
||||
let testUser, groupInfo;
|
||||
|
||||
beforeAll(async () => {
|
||||
await apiService.login(browser.params.identityAdmin.email, browser.params.identityAdmin.password);
|
||||
await apiService.loginWithProfile('identityAdmin');
|
||||
|
||||
testUser = await identityService.createIdentityUserWithRole([identityService.ROLES.ACTIVITI_USER]);
|
||||
groupInfo = await groupIdentityService.getGroupInfoByGroupName('hr');
|
||||
@@ -66,7 +66,7 @@ describe('Task cloud visibility', async () => {
|
||||
});
|
||||
|
||||
afterAll(async () => {
|
||||
await apiService.login(browser.params.identityAdmin.email, browser.params.identityAdmin.password);
|
||||
await apiService.loginWithProfile('identityAdmin');
|
||||
await identityService.deleteIdentityUser(testUser.idIdentityService);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user