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

test(q01): allow invoice print-settings preview but exclude physical print actions

davoodmehraban89 committed Oct 31, 2026 at 11:37 UTC d05aca994055c64c1a60ff2776b33b3952b22233
1 file changed +2 -1
tests/ui-control-structure.test.mjs
+2 -1
@@ -398,7 +398,8 @@ test('Q01: filter clicks are deferred until row-scoped confirmation and editor p
398 assert.ok(audit.includes("tabAction:tabActions[0]||null"));
399 assert.ok(audit.includes("const pending=[...group.actions]"));
400 assert.ok(audit.includes("for(const candidate of clickables(target()).filter(x=>"));
401 - assert.doesNotMatch(audit,/safeOpen = .*changeStatus|safeOpen = .*_printInvoice/);
401 + assert.doesNotMatch(audit,/safeOpen = .*changeStatus|safeOpen = .*_printReport|safeOpen = .*_printKardex|safeOpen = .*_printLedger/);
402 + assert.match(audit,/safeOpen = .*_printInvoice/);
403 });
404
405 test('Q01: safe navigation audit re-resolves same-handler controls by stable tag', () => {