+
diff --git a/lib/core/userinfo/components/user-info.component.spec.ts b/lib/core/userinfo/components/user-info.component.spec.ts
index 7706f7504d2..643554eea3a 100644
--- a/lib/core/userinfo/components/user-info.component.spec.ts
+++ b/lib/core/userinfo/components/user-info.component.spec.ts
@@ -554,6 +554,14 @@ describe('User info component', () => {
getCurrentUserInfoStub = spyOn(identityUserService, 'getCurrentUserInfo').and.returnValue(identityUserMock);
}));
+ it('should show the identity user initials if is not ecm user', async () => {
+ fixture.detectChanges();
+ await fixture.whenStable();
+ fixture.detectChanges();
+ expect(element.querySelector('#userinfo_container')).toBeDefined();
+ expect(element.querySelector('#user-initials-image').textContent).toContain('ff');
+ });
+
it('should able to fetch identity userInfo', async(() => {
fixture.detectChanges();