[ADF-4576]Add new tests for application cloud component (#4873)

* Add a new test

* Revert file

* Fix lint errors

* Add a wait

* fix roles constant uppercase

* fix lint
This commit is contained in:
cristinaj
2019-06-26 21:47:09 +03:00
committed by Eugenio Romano
parent 069e4297ea
commit 5c5bb7f9b7
25 changed files with 146 additions and 63 deletions

View File

@@ -70,7 +70,7 @@ describe('Start Task Form', () => {
identityService = new IdentityService(apiService);
groupIdentityService = new GroupIdentityService(apiService);
testUser = await identityService.createIdentityUserWithRole(apiService, [identityService.roles.aps_user]);
testUser = await identityService.createIdentityUserWithRole(apiService, [identityService.ROLES.APS_USER]);
groupInfo = await groupIdentityService.getGroupInfoByGroupName('hr');
await identityService.addUserToGroup(testUser.idIdentityService, groupInfo.id);
await apiService.login(testUser.email, testUser.password);