feat(ui): habilitar apertura automatica UX-06E.D.1.1

This commit is contained in:
Angel Capetillo Zavala
2026-10-13 16:34:28 -06:00
parent 35e1bc33d3
commit 98d0614d80
10 changed files with 530 additions and 47 deletions
@@ -26,6 +26,8 @@ describe('UX-05B ciclo de vida con componentes Plotly y runtime simulado', () =>
fixture = TestBed.createComponent(IndicadoresPage); http = TestBed.inject(HttpTestingController);
http.expectOne('/tea/indicadores').flush([{ id: 'i', titulo: 'I', contrato: 'C1', figuras: ['f', 'g'], tipos_periodo: ['semestre'] }]);
fixture.detectChanges();
(fixture.debugElement.query(By.directive(IndicadorCatalogCard)).componentInstance as IndicadorCatalogCard).toggle();
fixture.detectChanges();
});
afterEach(() => { fixture.destroy(); http.verify(); vi.unstubAllGlobals(); });
async function settle() { await fixture.whenStable(); for (let i = 0; i < 12; i++) await Promise.resolve(); fixture.detectChanges(); }