From: Afreen Misbah Date: Sun, 17 May 2026 10:26:22 +0000 (+0530) Subject: mgr/dashboard: update health-icon pipe tests for Carbon icons X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8b94da6a7c391683acc15116f7faa69752026dfc;p=ceph.git mgr/dashboard: update health-icon pipe tests for Carbon icons Update test expectations to match Carbon icon names instead of fork-awesome class names: - 'fa fa-check-circle' -> 'success' - 'fa fa-exclamation-triangle' -> 'warningAltFilled' - 'fa fa-exclamation-circle' -> 'error' Signed-off-by: Afreen Misbah Assisted-by: Claude Fixes: https://tracker.ceph.com/issues/76631 --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/shared/pipes/health-icon.pipe.spec.ts b/src/pybind/mgr/dashboard/frontend/src/app/shared/pipes/health-icon.pipe.spec.ts index e4450d9e1c1b..25b756db3b1a 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/shared/pipes/health-icon.pipe.spec.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/shared/pipes/health-icon.pipe.spec.ts @@ -7,14 +7,14 @@ describe('HealthIconPipe', () => { }); it('transforms "HEALTH_OK"', () => { - expect(pipe.transform('HEALTH_OK')).toEqual('fa fa-check-circle'); + expect(pipe.transform('HEALTH_OK')).toEqual('success'); }); it('transforms "HEALTH_WARN"', () => { - expect(pipe.transform('HEALTH_WARN')).toEqual('fa fa-exclamation-triangle'); + expect(pipe.transform('HEALTH_WARN')).toEqual('warningAltFilled'); }); it('transforms "HEALTH_ERR"', () => { - expect(pipe.transform('HEALTH_ERR')).toEqual('fa fa-exclamation-circle'); + expect(pipe.transform('HEALTH_ERR')).toEqual('error'); }); });