فینورا پرو - سامانه جامع حسابداری و صدور فاکتور

test(q01): inventory controls inside nested dialogs

davoodmehraban89 committed Oct 31, 2026 at 22:14 UTC f2c2b1ce9e1dbc0abe196f292708ce6cb422f98b
1 file changed +8 -1
tests/windows-vm-ui-interaction-audit-browser.js
+8 -1
@@ -768,7 +768,14 @@
768 handler:handler(nestedAction)});
769 }
770 auditFields(childDialog,route,ctx.section+'/nested-modal');
771 - const childCancel=clickables(childDialog).find(x=>
771 + // Inventory every child-dialog action, including save controls
772 + // that are deliberately not clicked in this generic sweep. Their
773 + // positive/negative behavior must be covered by a dedicated
774 + // synthetic workflow or remain explicitly unverified.
775 + const childControls=clickables(childDialog);
776 + childControls.forEach(control=>
777 + registerControl(control,route,ctx.section+'/nested-modal'));
778 + const childCancel=childControls.find(x=>
779 /FINORA\.Modal\.close|Modal\.closeAll/.test(handler(x)) ||
780 /^(انصراف|بستن|بازگشت|✕|×)$/.test(name(x)));
781 if(childCancel){