e2e: CaCu's indicators are bars and tables, not plots

This commit is contained in:
Roberto Treviño
2026-12-06 01:39:07 -06:00
parent 4852d933fa
commit 620572555d
+2 -1
View File
@@ -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( await expect(page.locator('[data-measure="CACU_EU7"] .kpi-value')).toHaveText(
`${count.toLocaleString('es-MX')} pacientes`, `${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 page.getByRole('tab', { name: 'Trazabilidad' }).click();
await expect(page.locator('app-tab-trazabilidad section.panel')).toHaveCount(9); await expect(page.locator('app-tab-trazabilidad section.panel')).toHaveCount(9);