فینورا پرو - سامانه جامع حسابداری و صدور فاکتور
test(q01): require zero unlabeled financial input fields in native WebView2
davoodmehraban89 committed
Oct 31, 2026 at 10:08 UTC
5ca5083103a70ba1e4ec254400b3cc95de4b90d3
1 file changed
+2
-2
tests/windows-vm-installed-tauri-cdp.cjs
+2
-2
@@ -443,8 +443,8 @@ async function connect(url) {
443
'Every nonclicked control must have a machine-readable reason');
444
assert.ok(audit.fieldsInspected >= 15, 'Visible form-field inventory unexpectedly small');
445
assert.ok(Number.isInteger(audit.fieldsMissingProgrammaticLabel), 'No programmatic label coverage reported');
446
- assert.ok(audit.fieldsMissingProgrammaticLabel <= 5,
447
- 'Financial field accessible labels regressed: '+audit.fieldsMissingProgrammaticLabel);
446
+ assert.equal(audit.fieldsMissingProgrammaticLabel, 0,
447
+ 'Every visible financial input must have a programmatic label');
448
assert.ok(audit.safeClickCount >= 15, 'Safe interaction coverage unexpectedly low');
449
assert.equal(audit.uniqueActionFailed, 0, 'A native UI action click failed');
450
assert.equal(audit.brokenHandlerCount, 0, 'A visible control points to a missing handler');