Ajustar pestañas y etiquetas de días
This commit is contained in:
@@ -14,7 +14,7 @@ test.beforeEach(async ({ page }) => {
|
||||
/** The record of the first patient of the risk list, as an address. */
|
||||
async function firstRecord(page: Page): Promise<{ url: string; sample: string }> {
|
||||
await page.goto('/indicadores/cacu');
|
||||
await page.getByRole('tab', { name: 'Análisis de riesgos' }).click();
|
||||
await page.getByRole('tab', { name: 'Seguimiento' }).click();
|
||||
const link = page.locator('table.worklist tbody tr a').first();
|
||||
await link.waitFor({ timeout: 120_000 });
|
||||
const url = (await link.getAttribute('href'))!;
|
||||
@@ -1587,7 +1587,7 @@ test('elegibilidad (simulado): a new patient never inherits the previous risk ex
|
||||
await open(page, firstUrl);
|
||||
await expect(reason).toBeVisible();
|
||||
await page.getByRole('link', { name: 'Regresar' }).click();
|
||||
await page.getByRole('tab', { name: 'Análisis de riesgos' }).click();
|
||||
await page.getByRole('tab', { name: 'Seguimiento' }).click();
|
||||
await page.locator(`a[href*="/pacientes/${secondId}?"]`).first().click();
|
||||
await expect(historial(page)).toBeVisible({ timeout: 120_000 });
|
||||
await expect(riskBox(page).locator('app-risk-scales')).toBeVisible();
|
||||
|
||||
Reference in New Issue
Block a user