From 620572555d842b7c4af013b31eb8efd505e3a389 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roberto=20Trevi=C3=B1o?= Date: Sun, 6 Dec 2026 01:39:07 -0600 Subject: [PATCH] e2e: CaCu's indicators are bars and tables, not plots --- e2e/pages.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/e2e/pages.spec.ts b/e2e/pages.spec.ts index 5fa2182..3c7c338 100644 --- a/e2e/pages.spec.ts +++ b/e2e/pages.spec.ts @@ -56,7 +56,8 @@ test("indicators: the KPIs are the API's MeasureReports, every tab and the patie await expect(page.locator('[data-measure="CACU_EU7"] .kpi-value')).toHaveText( `${count.toLocaleString('es-MX')} pacientes`, ); - await expect(page.locator('app-tab-indicadores app-plot').first()).toBeVisible(); + // CaCu's readings are bars and tables, not plots + await expect(page.locator('app-tab-indicadores app-readings').first()).toBeVisible(); await page.getByRole('tab', { name: 'Trazabilidad' }).click(); await expect(page.locator('app-tab-trazabilidad section.panel')).toHaveCount(9);