Page test: probability table with event and n; six TEA models

This commit is contained in:
2026-12-03 23:54:47 -06:00
parent 3b3643b9af
commit 4e633e7bff
+2 -2
View File
@@ -203,7 +203,7 @@ test('tea complete child: every screen has data', async ({ page }) => {
).toBeVisible(); ).toBeVisible();
await expect( await expect(
section('Probabilidad de un puntaje ADOS-2 severo').getByRole('columnheader'), section('Probabilidad de un puntaje ADOS-2 severo').getByRole('columnheader'),
).toHaveText(['Par', 'Prob. ADOS-2 severo', 'Referencia']); ).toHaveText(['Par', 'Evento', 'n', 'Prob. ADOS-2 severo', 'Referencia']);
await expect(section('Probabilidad de un puntaje ADOS-2 severo').locator('p')).toHaveText( await expect(section('Probabilidad de un puntaje ADOS-2 severo').locator('p')).toHaveText(
'No es la probabilidad de TEA.', 'No es la probabilidad de TEA.',
); );
@@ -216,7 +216,7 @@ test('tea complete child: every screen has data', async ({ page }) => {
); );
const models = page.getByRole('region', { name: 'Modelos' }); const models = page.getByRole('region', { name: 'Modelos' });
const modelCards = models.locator('section.model'); const modelCards = models.locator('section.model');
await expect(modelCards).toHaveCount(8); await expect(modelCards).toHaveCount(6);
for (const model of await modelCards.all()) { for (const model of await modelCards.all()) {
await expect(model.getByText('champion', { exact: true })).toBeVisible(); await expect(model.getByText('champion', { exact: true })).toBeVisible();
} }