diff --git a/e2e/pages.spec.ts b/e2e/pages.spec.ts index 285b24c..ecae0cd 100644 --- a/e2e/pages.spec.ts +++ b/e2e/pages.spec.ts @@ -114,6 +114,10 @@ test('tea complete child: every screen has data', async ({ page }) => { await page.goto('/indicadores/tea'); const summary = page.locator('app-tab-indicadores'); + await summary.getByText('Semestral', { exact: true }).click(); + await summary.getByRole('combobox', { name: 'Periodo seleccionado' }).click(); + await page.getByRole('option', { name: '2025-S2', exact: true }).click(); + await summary.getByRole('button', { name: 'Aplicar' }).click(); await expect(summary.locator('.summary mark').first()).toHaveText(/\d/); const summaryFigures = summary.locator('.figure-card, .box-card'); await expect(summaryFigures).toHaveCount(10); @@ -370,7 +374,7 @@ test('tea gobernanza: every section in sync mode, and the preview saved as PDF', await page.getByRole('option', { name: 'Todas' }).click(); await bundles.getByRole('button', { name: 'Exportar bundle' }).click(); await expect(bundles.getByRole('alert')).toContainText('holds a study code, date or path'); - expect(problems.filter((p) => !p.includes('409'))).toEqual([]); + expect(problems.filter((p) => !/409|422/.test(p))).toEqual([]); }); test('conectar: the tea pipeline on the canvas, and a node form', async ({ page }) => {