fix: clarify complementary field diagnostics and target exact QA controls

This commit is contained in:
2026-11-21 22:13:16 +02:00
parent 77f621b48d
commit 84018e3f25
27 changed files with 1264 additions and 39 deletions
@@ -0,0 +1,38 @@
✔ personnel in a different currency remains unreconciled without automatic conversion (3.0285ms)
✔ malformed rows never produce misleading partial totals or erase original data (3.660333ms)
✔ market projects integer customers and CAGR, never replaces sales; high growth is a warning (12.597875ms)
✖ milestone totals distinguish optional unknown actuals, invalid dates and exact centavos (2.143834ms)
✔ personnel reconciles 13 months and partial years, preserves financial figures on mismatch (3.038375ms)
✔ legacy rows remain preserved and missing supplements remain explicit, not zero (0.395167ms)
✔ economic draft roundtrip and existing Word/print exports include three complementary tables (432.606583ms)
ℹ tests 7
ℹ suites 0
ℹ pass 6
ℹ fail 1
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 1237.071584
✖ failing tests:
test at tests\frontend\complementary-report.test.mjs:87:6
✖ milestone totals distinguish optional unknown actuals, invalid dates and exact centavos (2.143834ms)
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /ordenadas/. Input:
'Marcos / Marco 1 / «Prazo previsto»: A data de término não pode ser anterior à data de início.'
at TestContext.<anonymous> (file:///C:/laragon/www/portal-investidor-continuity-qa-20261120/tests/frontend/complementary-report.test.mjs:99:12)
at Test.runInAsyncScope (node:async_hooks:227:14)
at Test.run (node:internal/test_runner/test:1397:25)
at Test.processPendingSubtests (node:internal/test_runner/test:969:18)
at Test.postRun (node:internal/test_runner/test:1537:19)
at Test.run (node:internal/test_runner/test:1462:12)
at async Test.processPendingSubtests (node:internal/test_runner/test:969:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'Marcos / Marco 1 / «Prazo previsto»: A data de término não pode ser anterior à data de início.',
expected: /ordenadas/,
operator: 'match',
diff: 'simple'
}