test(indicadores): follow the published CAM-03 title and the Análisis tab
The history names CAM-03 «Resultado histopatológico»; the CAM-03 expectation in the F4C spec now uses that title. The CaMa page does not offer the Análisis tab while CAMA_ANALYSIS_ENABLED is off. The journey specs that open it run only while the flag is on and are reported as skipped otherwise. The domain-change spec selects patients through the page instead of through that tab, so it keeps checking that the selection is cleared and that CaCu and TEA keep their sections.
This commit is contained in:
@@ -42,7 +42,8 @@ const SECTIONS: readonly { id: DashboardSection; label: string }[] = [
|
||||
// TEA and CaMa have enough periods for their history to say anything; the epidemiological analysis is CaMa's,
|
||||
// between its history and its follow-up list.
|
||||
const SECTIONS_WITH_HISTORY: readonly { id: DashboardSection; label: string }[] = [SECTIONS[0], { id: 'historico', label: 'Histórico' }, SECTIONS[1], SECTIONS[2]];
|
||||
const CAMA_ANALYSIS_ENABLED = false;
|
||||
// Whether CaMa offers the Análisis tab. While off, its panel is a placeholder and the component is not rendered.
|
||||
export const CAMA_ANALYSIS_ENABLED = false;
|
||||
const SECTIONS_CAMA: readonly { id: DashboardSection; label: string }[] = [
|
||||
SECTIONS_WITH_HISTORY[0], SECTIONS_WITH_HISTORY[1],
|
||||
...(CAMA_ANALYSIS_ENABLED ? [{ id: 'analisis' as const, label: 'Análisis' }] : []),
|
||||
|
||||
Reference in New Issue
Block a user