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:
@@ -95,7 +95,7 @@ describe('Start Task Form', () => {
|
||||
let uploadedFolder;
|
||||
|
||||
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');
|
||||
@@ -156,7 +156,7 @@ describe('Start Task Form', () => {
|
||||
const standaloneTaskId = await tasksService.getTaskId(standaloneTaskName, candidateBaseApp);
|
||||
await tasksService.deleteTask(standaloneTaskId, candidateBaseApp);
|
||||
|
||||
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