F1.1 · Inspección multi-Acta y firma diferida
Implementa el nuevo núcleo operativo: múltiples Actas por Inspección, un Informe por Acta, cierre de campo independiente y firma de empresa diferida con conformidad/disidencia.
This commit is contained in:
@@ -26,12 +26,14 @@ test('D5.3.23 only lets a mobile assigned inspector create during an active visi
|
||||
assert.match(assets, /FIELD_DISCOVERY_INSPECTOR_NOT_ASSIGNED/);
|
||||
});
|
||||
|
||||
test('D5.3.23 immediately links the provisional object to the visit and open act', () => {
|
||||
test('F1.1 preserves D5.3.23 field discovery while linking only to the current draft act', () => {
|
||||
assert.match(assets, /fieldDiscoveryInspectionLinks\.attach/);
|
||||
assert.doesNotMatch(assets, /INSERT INTO inspection_/);
|
||||
assert.match(inspectionLinks, /INSERT INTO inspection_visit_assets/);
|
||||
assert.match(inspectionLinks, /INSERT INTO inspection_act_assets/);
|
||||
assert.match(inspectionLinks, /FIELD_DISCOVERY_ACT_NOT_EDITABLE/);
|
||||
assert.match(inspectionLinks, /status = 'DRAFT'/);
|
||||
assert.match(inspectionLinks, /if \(act\)/);
|
||||
assert.match(inspectionLinks, /actId: act\?\.id \?\? null/);
|
||||
assert.match(findings, /assertActAsset/);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user