Simplify CaCu distribution descriptions
This commit is contained in:
+7
-2
@@ -64,6 +64,10 @@ test('indicadores cacu: its sections in order, each card read one mode at a time
|
||||
});
|
||||
// each card has no toggle of its own: the selector drives both
|
||||
await expect(readings.getByRole('radio')).toHaveCount(0);
|
||||
// no long description beside the bars: the cards read from their title, note and legend
|
||||
await expect(readings).not.toContainText(
|
||||
/Cada barra|Cada paciente cuenta una vez|«Detección inicial»|una barra vacía|«Positivo»/,
|
||||
);
|
||||
await expect(
|
||||
readings
|
||||
.locator('.group')
|
||||
@@ -286,12 +290,13 @@ for (const card of ['cytology', 'genotype'] as const) {
|
||||
});
|
||||
}
|
||||
|
||||
test('rondas (simulado): the genotype card never shows the incomplete positives, and says where they went', async ({
|
||||
test('rondas (simulado): the genotype card never shows the incomplete positives, and carries no long description', async ({
|
||||
page,
|
||||
}) => {
|
||||
const { card, view } = await withRounds(page, 'as-is');
|
||||
const readings = card(TITLES.genotype);
|
||||
await expect(readings).toContainText('«Positivo»');
|
||||
await expect(readings).not.toContainText('«Positivo»');
|
||||
await expect(readings).not.toContainText('Cada barra');
|
||||
await expect(readings.getByRole('rowheader')).not.toContainText([
|
||||
'Otro de alto riesgo',
|
||||
'incompleto',
|
||||
|
||||
Reference in New Issue
Block a user