diff --git a/api-v3/test/unit/f5-1-clean-manual-inventory-contract.test.ts b/api-v3/test/unit/f5-1-clean-manual-inventory-contract.test.ts index 49cc0b3..43adf9b 100644 --- a/api-v3/test/unit/f5-1-clean-manual-inventory-contract.test.ts +++ b/api-v3/test/unit/f5-1-clean-manual-inventory-contract.test.ts @@ -98,3 +98,28 @@ test('F7 Web creation keeps the fixed hierarchy and asks only the required simpl assert.doesNotMatch(createPage, /Tipo de concesión/); assert.match(configPage, /Departamento → Área → Yacimiento → Instalación → Subinstalación/); }); + +test('F7 canonical detail uses one short everyday profile and keeps advanced administration separate', () => { + const detailRoute = source('../web-v2/src/pages/InventoryDetailPage.tsx'); + const detail = source('../web-v2/src/pages/SimpleInventoryDetailPage.tsx'); + + assert.match(detailRoute, /isSimpleInventoryAsset\(asset\) && !advanced/); + assert.match(detailRoute, /ResumenActividadUbicaciónFotosCambios