TEA record: ADOS-2 by item, EEG quality and its alterations against the age norm; page tests follow the cards' and dialog's words
This commit is contained in:
+6
-3
@@ -51,7 +51,10 @@ test("indicators: the KPIs are the API's MeasureReports, every tab and the patie
|
||||
const count = eu7.entry[0].resource.group[0].population.find(
|
||||
(p: any) => p.code.coding[0].code === 'initial-population',
|
||||
).count;
|
||||
await expect(page.locator('[data-measure="CACU_EU7"] .kpi-value')).toHaveText(String(count));
|
||||
// the card says it as the old one did: "<n> pacientes"
|
||||
await expect(page.locator('[data-measure="CACU_EU7"] .kpi-value')).toHaveText(
|
||||
`${count.toLocaleString('es-MX')} pacientes`,
|
||||
);
|
||||
await expect(page.locator('app-tab-indicadores app-plot').first()).toBeVisible();
|
||||
|
||||
await page.getByRole('tab', { name: 'Trazabilidad' }).click();
|
||||
@@ -104,7 +107,7 @@ test('conectar: open the hospital pipeline, preview a source, run it to success'
|
||||
await expect(page.locator('.preview tr[mat-row]').first()).toBeVisible();
|
||||
// A map node shows the site's codes in platform terms (its ConceptMap), editable as rows.
|
||||
await page.getByText('Traducir códigos · cytology', { exact: true }).click();
|
||||
await expect(page.getByText('Códigos del sitio')).toBeVisible();
|
||||
await expect(page.getByRole('heading', { name: /^Códigos del sitio/ })).toBeVisible();
|
||||
await expect
|
||||
.poll(() =>
|
||||
page
|
||||
@@ -165,7 +168,7 @@ test('conectar: someone who knows nothing of databases connects the SQL Server w
|
||||
await expect(page.getByText('Conexión correcta: 1 tabla.')).toBeVisible();
|
||||
await page.locator('mat-select[data-field="table"]').click();
|
||||
await page.getByRole('option', { name: 'ResultadoSubrogado' }).click();
|
||||
await expect(page.getByText(/Primeras \d+ filas/)).toBeVisible();
|
||||
await expect(page.getByText(/(Las primeras \d+ filas|La primera fila):/)).toBeVisible();
|
||||
await page.getByLabel('Nombre de esta fuente').fill('Resultados');
|
||||
await page.getByRole('button', { name: 'Guardar', exact: true }).last().click();
|
||||
await expect(page.getByText('Fuente de datos · Resultados')).toBeVisible();
|
||||
|
||||
Reference in New Issue
Block a user