diff --git a/e2e/pages.spec.ts b/e2e/pages.spec.ts index f024b4f..8799a93 100644 --- a/e2e/pages.spec.ts +++ b/e2e/pages.spec.ts @@ -59,10 +59,10 @@ test("indicators: the KPIs are the API's MeasureReports, every tab and the patie await expect(page.locator('app-tab-indicadores app-plot').first()).toBeVisible(); await page.getByRole('tab', { name: 'Trazabilidad' }).click(); - await expect(page.locator('app-tab-trazabilidad mat-card')).toHaveCount(14); + await expect(page.locator('app-tab-trazabilidad section.panel')).toHaveCount(9); await page.getByRole('tab', { name: 'Datos y definiciones' }).click(); - await expect(page.locator('app-tab-definiciones tbody tr')).toHaveCount(14); + await expect(page.locator('app-tab-definiciones details')).toHaveCount(14); const list = page.waitForResponse((r) => r.url().includes('/fhir/Patient?')); await page.getByRole('tab', { name: 'Análisis de riesgos' }).click(); @@ -73,7 +73,7 @@ test("indicators: the KPIs are the API's MeasureReports, every tab and the patie await expect(rows).toHaveCount(Math.min(20, bundle.total)); await expect(rows.first().locator('a').first()).toHaveText(first); await page.getByRole('button', { name: 'Siguiente' }).click(); - await expect(page.getByText(`21–`)).toBeVisible(); + await expect(page.getByText('Página 2 de')).toBeVisible(); await page.getByRole('button', { name: 'Anterior' }).click(); await rows.first().locator('a').first().click();