F1e: complete-child case reads the semester with the EEGs; export refusal is expected

This commit is contained in:
2026-12-01 15:09:10 -06:00
parent 13146fdca4
commit a4bf48b60d
+5 -1
View File
@@ -114,6 +114,10 @@ test('tea complete child: every screen has data', async ({ page }) => {
await page.goto('/indicadores/tea'); await page.goto('/indicadores/tea');
const summary = page.locator('app-tab-indicadores'); 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/); await expect(summary.locator('.summary mark').first()).toHaveText(/\d/);
const summaryFigures = summary.locator('.figure-card, .box-card'); const summaryFigures = summary.locator('.figure-card, .box-card');
await expect(summaryFigures).toHaveCount(10); 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 page.getByRole('option', { name: 'Todas' }).click();
await bundles.getByRole('button', { name: 'Exportar bundle' }).click(); await bundles.getByRole('button', { name: 'Exportar bundle' }).click();
await expect(bundles.getByRole('alert')).toContainText('holds a study code, date or path'); 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 }) => { test('conectar: the tea pipeline on the canvas, and a node form', async ({ page }) => {