feat(ui): habilitar apertura automatica UX-06E.D.1.1
This commit is contained in:
@@ -30,7 +30,7 @@ describe('UX-04 navegación Angular', () => {
|
||||
http.expectOne('/' + domain + '/indicadores').flush(syntheticCatalogs[domain]);
|
||||
harness.detectChanges();
|
||||
const card = harness.routeDebugElement!.query(By.directive(IndicadorCatalogCard)).componentInstance as IndicadorCatalogCard;
|
||||
if (!card.expanded) { card.toggle(); harness.detectChanges(); }
|
||||
if (!card.expanded || card.awaitingFigures) { card.toggle(); harness.detectChanges(); }
|
||||
const req = http.expectOne(r => r.url.includes('/figuras/'));
|
||||
req.flush({ data: [{ y: [0, null] }], layout: {} });
|
||||
return req;
|
||||
|
||||
Reference in New Issue
Block a user