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