20261119 Favicon colores textos

This commit is contained in:
Manuel Aurrecoechea Castillo
2026-11-19 15:10:59 -06:00
parent ee87bcb8d0
commit de3d247d0d
27 changed files with 248 additions and 147 deletions
@@ -93,8 +93,7 @@ describe('UX-06E.D.3.A catálogo permanentemente desplegado', () => {
expect(Array.from(sections).map(section => section.getAttribute('aria-labelledby'))).toEqual(['global-filters-title', 'graphic-section-title']);
// Cada figura trae su tabla de valores: no hay resumen de indicadores al final de la página.
expect(fixture.nativeElement.querySelector('app-indicadores-numeric-summary')).toBeNull();
expect(fixture.nativeElement.querySelector('.catalog-count').textContent.trim()).toBe('2 indicadores publicados');
expect(getComputedStyle(fixture.nativeElement.querySelector('.catalog-count')).textAlign).toBe('right');
expect(fixture.nativeElement.textContent).not.toContain('indicadores publicados');
toggle(0); toggle(1); flushAll();
expect(Array.from(grid.children).map(host => host.querySelectorAll('app-indicador-figure-panel').length)).toEqual([1, 1]);
expect(panels().map(panel => panel.figuraId)).toEqual(['f1', 'g']);
@@ -114,7 +113,7 @@ describe('UX-06E.D.3.A catálogo permanentemente desplegado', () => {
it('Resumen omite los indicadores publicados solo para otra pestaña', () => {
load([item, { ...second, vistas: ['historico'] }]);
expect(page.searchResults().items.map(i => i.id)).toEqual([item.id]);
expect(fixture.nativeElement.querySelector('.catalog-count').textContent).toContain('1 indicador publicado');
expect(fixture.nativeElement.textContent).not.toContain('indicador publicado');
expect(page.catalog()).toHaveLength(2);
http.expectNone(r => r.url.endsWith('/figuras/f1'));
});