From 881c6137447b7ada8d6c825caa3a3756d431a6e8 Mon Sep 17 00:00:00 2001 From: Angel Capetillo Zavala Date: Sun, 22 Nov 2026 23:41:31 -0600 Subject: [PATCH] =?UTF-8?q?fix(cama):=20title=20the=20risk=20analysis=20pa?= =?UTF-8?q?nel=20An=C3=A1lisis=20de=20riesgos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../features/indicadores/indicadores-seguimiento-ficha.spec.ts | 3 ++- src/app/features/indicadores/indicadores-seguimiento-tabla.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/features/indicadores/indicadores-seguimiento-ficha.spec.ts b/src/app/features/indicadores/indicadores-seguimiento-ficha.spec.ts index 50b1e82..f83b6f0 100644 --- a/src/app/features/indicadores/indicadores-seguimiento-ficha.spec.ts +++ b/src/app/features/indicadores/indicadores-seguimiento-ficha.spec.ts @@ -36,7 +36,8 @@ describe('Seguimiento de CaMa: ficha del paciente', () => { // Fails if the export buttons leave the title row or come back under the table. it('has the export buttons in the row of the section title, and nothing after the pagination', () => { const row = root().querySelector('.title-row')!; - expect(row.querySelector('h2')!.textContent).toContain('Seguimiento de'); + // Fails if the section heading goes back to «Seguimiento de …» instead of the name of the section tab. + expect(row.querySelector('h2')!.textContent).toBe('Análisis de riesgos'); expect([...row.querySelectorAll('button')].map(b => b.textContent!.trim())).toEqual(['Exportar Excel (.xlsx)', 'Exportar PDF']); expect(root().querySelector('nav')!.nextElementSibling).toBeNull(); expect(root().textContent).not.toContain('Exportar resultados'); diff --git a/src/app/features/indicadores/indicadores-seguimiento-tabla.ts b/src/app/features/indicadores/indicadores-seguimiento-tabla.ts index 6ee30f7..de5859c 100644 --- a/src/app/features/indicadores/indicadores-seguimiento-tabla.ts +++ b/src/app/features/indicadores/indicadores-seguimiento-tabla.ts @@ -48,7 +48,7 @@ const mismosFiltros = (a: Record, b: Record
-

Seguimiento de {{ domainLabel }}

+

Análisis de riesgos

@if (data(); as respuesta) { }