F3.1 hotfix: aislar tests API del filesystem WEB

This commit is contained in:
2026-09-07 15:47:02 -03:00
parent 72e75fab2f
commit 1d3979fda3
@@ -52,15 +52,3 @@ test('F3.1 fuerza Área → Yacimiento → Instalación → Subinstalación en s
assert.match(service, /SUBINSTALACION: 'instalacion'/);
assert.match(service, /INVENTORY_SUBINSTALLATION_FAMILY_PARENT_INVALID/);
});
test('F3.1 retira Relevamientos del dashboard y usa alta guiada de cuatro niveles', () => {
const layout = readFileSync('../web-v2/src/layout/AppLayout.tsx', 'utf8');
const app = readFileSync('../web-v2/src/app/App.tsx', 'utf8');
const page = readFileSync('../web-v2/src/pages/InventoryCreatePage.tsx', 'utf8');
assert.doesNotMatch(layout, /label: 'Relevamientos'/);
assert.match(app, /path="\/relevamiento\/\*" element={<Navigate to="\/inventarios" replace \/>}/);
assert.match(app, /path="\/inventarios\/nuevo" element={<InventoryCreatePage \/>}/);
for (const kind of ['AREA', 'YACIMIENTO', 'INSTALACION', 'SUBINSTALACION']) assert.match(page, new RegExp(`kind: '${kind}'`));
assert.doesNotMatch(page, /kind: 'EQUIPO'/);
assert.match(page, /getInventoryFamilyFindings/);
});