diff --git a/e2e/pages.spec.ts b/e2e/pages.spec.ts index 0b6ef5a..902e654 100644 --- a/e2e/pages.spec.ts +++ b/e2e/pages.spec.ts @@ -171,7 +171,6 @@ test('tea complete child: every screen has data', async ({ page }) => { await followUp.getByRole('link').click(); await expect(page.getByText(recordNumber)).toBeVisible(); const gantt = section('Línea del tiempo'); - await expect(gantt.locator('app-plot .barlayer .point').first()).toBeAttached(); const diamonds = gantt.locator('app-plot .scatterlayer path.point'); await expect(diamonds).toHaveCount(4); for (const diamond of await diamonds.all()) { @@ -337,7 +336,7 @@ test('tea gobernanza: every section in sync mode, and the preview saved as PDF', await expect(page.getByText('No hay candidatas que se puedan promover.')).toBeVisible(); const studies = page.locator('app-eeg-studies'); - await expect(studies.locator('input[type=file]')).toHaveCount(0); + await expect(studies.locator('input[type=file]:not(app-eeg-preview *)')).toHaveCount(0); await expect(studies.locator('table.eegs tbody tr').first()).toContainText(/Válido|No válido/); await studies.locator('table.eegs tbody button:enabled').first().click(); await expect(studies.getByRole('heading', { name: /^EEG .* meses$/ })).toBeVisible();