feat(indicadores): domain navigation moves to the header; searchVisible reads the catalog before the domain
The in-page domain buttons are removed, since the header selector replaces them. Also fixes a computed that, after a visit to CaMa, never became true again, so CaCu and TEA lost their search box when switched to from CaMa. (cherry picked from commit 3678c3653b33fcb98ba2334ca8f03f838dc86440)
This commit is contained in:
@@ -44,8 +44,8 @@ describe('UX-04 navegación Angular', () => {
|
||||
const harness = await setup();
|
||||
await harness.navigateByUrl('/indicadores/' + domain, IndicadoresPage);
|
||||
load(domain, harness); harness.detectChanges();
|
||||
// Our shell keeps the domain nav on the page itself, see indicadores-page.html.
|
||||
expect(harness.routeNativeElement!.querySelectorAll('nav.domain-nav a')).toHaveLength(3);
|
||||
// The domain links are in the shell's header selector (app-encabezado.spec.ts); the page has none of its own.
|
||||
expect(harness.routeNativeElement!.querySelectorAll('nav.domain-nav')).toHaveLength(0);
|
||||
http.expectNone(() => true);
|
||||
});
|
||||
it('mantiene la ruta, restaura borradores y reconsulta la aplicación entre TEA/CaCu/CaMa', async () => {
|
||||
|
||||
Reference in New Issue
Block a user