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) { }