From dc9d2847f6d250d9e6fb3aca7f3749753312414c Mon Sep 17 00:00:00 2001 From: alberto Date: Fri, 4 Dec 2026 00:06:11 -0600 Subject: [PATCH] Page test: the severe-score note among the insufficient-data notices --- e2e/pages.spec.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/e2e/pages.spec.ts b/e2e/pages.spec.ts index fde2e17..2e054a1 100644 --- a/e2e/pages.spec.ts +++ b/e2e/pages.spec.ts @@ -204,9 +204,11 @@ test('tea complete child: every screen has data', async ({ page }) => { await expect( section('Probabilidad de un puntaje ADOS-2 severo').getByRole('columnheader'), ).toHaveText(['Par', 'Evento', 'n', 'Prob. ADOS-2 severo', 'Referencia']); - await expect(section('Probabilidad de un puntaje ADOS-2 severo').locator('p')).toHaveText( - 'No es la probabilidad de TEA.', - ); + await expect( + section('Probabilidad de un puntaje ADOS-2 severo').getByText('No es la probabilidad de TEA.', { + exact: true, + }), + ).toBeVisible(); await expect(section('Probabilidad segĂșn z').locator('app-plot .point').first()).toBeAttached(); await expect(section('Limitaciones').locator('p').first()).toHaveText(/cohorte/);