T8: the record page test goes back through the frame's Regresar link

This commit is contained in:
2026-12-01 04:17:02 -06:00
parent 32332b0fcf
commit 2ea5106d32
+1 -1
View File
@@ -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');