diff --git a/e2e/pages.spec.ts b/e2e/pages.spec.ts index 659ded8..520b8e6 100644 --- a/e2e/pages.spec.ts +++ b/e2e/pages.spec.ts @@ -82,7 +82,7 @@ test('tea patient: the record and the risk page load and export to PDF', async ( const record = await downloaded(page, page.getByRole('button', { name: 'Exportar PDF' }), 'pdf'); expect(record).toMatch(/^tea-seguimiento-/); - await page.getByRole('link', { name: 'Regresar a Seguimiento' }).click(); + await page.getByRole('link', { name: 'Regresar' }).click(); const focused = page.locator('app-tab-seguimiento-tea'); await expect(focused.getByRole('button', { name: 'Ver todos los pacientes' })).toBeVisible(); const focusedRows = focused.locator('table tbody tr');