Merge parity/main into parity/T8-tea-lists

This commit is contained in:
2026-12-01 03:55:35 -06:00
29 changed files with 1766 additions and 1612 deletions
+16 -4
View File
@@ -109,14 +109,25 @@ test('tea gobernanza: every section in sync mode, and the preview saved as PDF',
}) => {
const problems = watch(page);
await page.goto('/gobernanza/tea');
await page.getByLabel('Modo').selectOption('sync');
await expect(page.locator('app-gobernanza').getByRole('heading', { level: 2 })).toHaveText([
'Ejecución',
'Modelos',
'Entrenamiento',
'Bundles',
'Estudios EEG',
'Vista previa',
]);
await page.getByRole('combobox', { name: 'Modo' }).click();
await page.getByRole('option', { name: 'Sync' }).click();
await expect(page.getByRole('status').filter({ hasText: 'Disponible' })).toBeVisible();
await page.getByRole('button', { name: 'Entrenar modelos' }).click();
await expect(page.getByRole('heading', { name: 'Entrenar modelos', level: 3 })).toBeVisible();
const training = page.getByRole('heading', { name: 'Entrenamiento', level: 2 });
await expect(training).toBeVisible();
await expect(training).toBeFocused();
await expect(page.locator('app-governance-training formly-form')).toBeVisible();
const monitor = page.locator('app-gobernanza > section > section app-run-monitor');
const monitor = page.locator('app-governance-models app-run-monitor');
await page.getByRole('button', { name: 'Analizar EEG' }).click();
await expect(page.getByRole('heading', { name: 'Análisis de EEG' })).toBeVisible();
await expect(monitor.getByRole('status')).toHaveText('SUCCESS', { timeout: 10 * 60_000 });
@@ -152,7 +163,8 @@ test('tea gobernanza: every section in sync mode, and the preview saved as PDF',
await dialog.getByRole('button', { name: 'Cerrar' }).click();
const bundles = page.locator('app-governance-bundles');
await bundles.getByLabel('Versiones').selectOption('all');
await bundles.getByRole('combobox', { name: 'Versiones' }).click();
await page.getByRole('option', { name: 'Todas' }).click();
await bundles.getByRole('button', { name: 'Exportar bundle' }).click();
await expect(bundles.getByRole('alert')).toContainText('nothing to export');
expect(problems.filter((p) => !p.includes('409'))).toEqual([]);