feat(indicadores): completa metadatos y navegación multiperiodo

This commit is contained in:
Angel Capetillo Zavala
2026-10-23 01:18:24 -06:00
parent 1fe88dfb45
commit 9639423a32
25 changed files with 864 additions and 70 deletions
@@ -158,7 +158,9 @@ describe('UX-05C búsqueda local y partición estable', () => {
const helpIds = helps.map(button => button.getAttribute('aria-controls')!);
expect(new Set(helpIds).size).toBe(5);
for (const id of helpIds) expect(document.getElementById(id)?.hidden).toBe(true);
helps[0].click(); fixture.detectChanges(); await settle();
helps[0].click(); fixture.detectChanges();
http.expectOne(r => r.url.endsWith('/metadatos')).flush({});
fixture.detectChanges(); await settle();
expect(helps.map(button => button.getAttribute('aria-expanded'))).toEqual(['true', 'false', 'false', 'false', 'false']);
expect(helpIds.map(id => document.getElementById(id)?.hidden)).toEqual([false, true, true, true, true]);
for (const query of ['sexo', 'evaluacion', '']) {