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);