mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4126] add roles filtering to people cloud component (#4338)
* in progress * in progress testcase C297674 * linting fixes * modularised clear field method * made the appearance of select user dropdown work. * in progress * final version * linting fixes * linting fixes * in progress * in progress testcase C297674 * linting fixes * modularised clear field method * made the appearance of select user dropdown work. * in progress * final version * linting fixes * linting fixes * ADF-4103 automated * in progress * Roles Filter automated * async updates * removed the identity User details * roleId extraction done. * linting fixes * using constants instead of hardcoding the typing values. * crc's * crc's * linting * removed hte indexes, as api returns only 1 user record. * fixed errors * in progress * redoing the tests as the PeopleGroupCloudPage has been updated. * redoing the tests as the PeopleGroupCloudPage has been updated.
This commit is contained in:
committed by
Eugenio Romano
parent
222b42d5b4
commit
3ac0018160
@@ -39,20 +39,20 @@ describe('User Info - SSO', () => {
|
||||
settingsPage.setProviderBpmSso(TestConfig.adf.hostBPM, TestConfig.adf.hostSso, TestConfig.adf.hostIdentity, silentLogin);
|
||||
loginSSOPage.clickOnSSOButton();
|
||||
browser.ignoreSynchronization = true;
|
||||
loginSSOPage.loginAPS(identityUser['0'].username, identityUser['0'].password);
|
||||
loginSSOPage.loginAPS(identityUser.username, identityUser.password);
|
||||
});
|
||||
|
||||
afterAll (() => {
|
||||
identityService.deleteIdentityUser(identityUser[0].id);
|
||||
afterAll (async () => {
|
||||
await identityService.deleteIdentityUser(identityUser.id);
|
||||
});
|
||||
|
||||
it('[C290066] Should display UserInfo when login using SSO', () => {
|
||||
|
||||
navigationBarPage.navigateToProcessServicesCloudPage();
|
||||
navigationBarPage.clickUserProfile();
|
||||
expect(userInfoDialog.getSsoHeaderTitle()).toEqual(identityUser['0'].firstName + ' ' + identityUser['0'].lastName);
|
||||
expect(userInfoDialog.getSsoTitle()).toEqual(identityUser['0'].firstName + ' ' + identityUser['0'].lastName);
|
||||
expect(userInfoDialog.getSsoEmail()).toEqual(identityUser['0'].email);
|
||||
expect(userInfoDialog.getSsoHeaderTitle()).toEqual(identityUser.firstName + ' ' + identityUser.lastName);
|
||||
expect(userInfoDialog.getSsoTitle()).toEqual(identityUser.firstName + ' ' + identityUser.lastName);
|
||||
expect(userInfoDialog.getSsoEmail()).toEqual(identityUser.email);
|
||||
userInfoDialog.closeUserProfile();
|
||||
|
||||
});
|
||||
|
Reference in New Issue
Block a user