Files
Investidor-V2/docs/investmoz/v2/auditoria-portal/e26-f20-b-20261121/f20-b-tests.log
T

101 lines
8.5 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
✔ financial forecast reconciles revenue, finance sources, working capital and monthly cash (7.204208ms)
✔ opening payable installments reduce cash without changing profit and retain unpaid balances (6.470166ms)
✔ opening payable schedule caps cent rounding at the remaining balance (0.33375ms)
✔ monthly unit schedules drive revenue, costs, inventory and scenario volume (1.676709ms)
✖ monthly unit schedules must match the horizon and contain valid quantities (3.988791ms)
✔ monthly prices and unit costs affect revenue, consumption and scenarios (0.961209ms)
✔ monthly money schedules cover the horizon and reject invalid amounts (0.575ms)
✔ monthly operating and payroll expense schedules remain separate from payments (1.024625ms)
✔ monthly operating schedules require full horizon, exact cents and current snapshot version (4.523416ms)
✔ losses and negative closing cash remain visible instead of being clamped to zero (0.858459ms)
✔ principal repayments affect cash but are excluded from profit expenses (0.741792ms)
✔ depreciation allocation reconciles exactly over useful life (0.374667ms)
✔ missing currency, products, invalid numbers and invalid horizons are explicit errors (0.88225ms)
✔ versioned plan snapshots restore assumptions and reject unsupported or oversized data (13.405542ms)
✔ business plan serializer refuses snapshots above the server storage limit (4.354708ms)
✔ sales invoicing and receipts follow an optional declared collection lag (3.722583ms)
✔ scheduled collection percentage keeps unpaid invoices in receivables with exact rounding (2.08575ms)
✔ sales recovery applies only to overdue invoices and never exceeds open balances (18.055459ms)
✔ opening receivables affect cash only when a month and collection percentage are declared (0.789208ms)
✔ opening receivable installments reconcile to the initial balance across months (3.54825ms)
✔ opening receivable installments cap independently rounded cents at the available balance (0.376833ms)
✔ inventory purchases, consumption, closing stock and stock shortfall reconcile independently of payments (0.292583ms)
✔ inventory lead time separates monthly orders, receipts, shortages and goods still in transit (0.322666ms)
✔ monthly inventory purchase schedule reconciles variable orders, lead times, receipts and transit (1.412542ms)
✔ monthly variable purchase payments affect cash independently from inventory orders and profit (0.549708ms)
✔ product inventory schedules reconcile independently and do not transfer stock between products (4.764375ms)
✔ supplier payment terms drive purchase cash flow and expose amounts due beyond the horizon (2.867083ms)
✔ supplier order installments reconcile exact cents, cash dates and unallocated balances (1.081958ms)
✔ business assumptions survive the existing encrypted-draft snapshot split and restore (1.757416ms)
✔ presentation currency conversion requires and reports its rate, date, and declared source (4.207ms)
✔ CSV marks presentation currency conversion as an unverified user planning assumption (6.738125ms)
✔ business plan export carries its assumptions, formulas, period, currency, and matching result (0.486167ms)
✔ business plan CSV preserves declared monthly product schedules (0.405208ms)
✔ CSV export exposes the sales collection assumption and outstanding receivable (0.361125ms)
✔ business plan CSV neutralizes formula-like labels and preserves negative financial values (6.230292ms)
✔ financial scenarios expose user-declared changes without creating tax values (5.580375ms)
✔ F20-A preserves explicitly classified independent other income when replacing sales collections (34.680042ms)
✔ F20-A replaces only opted-in cash agendas, preserves recognition and reconciles every monthly balance (6.910542ms)
✔ F20-A calendar days cover zero, individual dates, leap February and year transition (9.002583ms)
✔ F20-A excludes early and unknown payments including within the same month, never silently normalizes them (14.270167ms)
✔ F20-A parcels reconcile to recognition and reject duplicates without merging distinct equal payments (2.498459ms)
✔ F20-A retains future receivables and payables at horizons 1 and 60 and restores manual schedules explicitly (4.8ms)
✔ F20-A version 20 recovers dates, inactive manual inputs and outcomes; invalid terms and foreign versions are rejected (7.494875ms)
✔ acceptance regression: summary uses the same cash, tax payments and startup funding gap as its seven tables (27.726583ms)
✔ review regression: cash deficit does not create an undeclared loan or inflate projected liabilities (1.522542ms)
✔ review regression: print export repeats rubrics in readable slices without losing any of sixty months or five annual periods (67.759416ms)
✔ seven integrated statements reconcile monthly flows, annual totals and closing stocks without changing the existing engine (7.3255ms)
✔ missing inputs, insufficient inventory and inconsistent opening capital remain explicit, never balancing plugs (3.034333ms)
✔ partial years, changing product schedules and negative cash keep exact amounts and disclosed assumptions (1.007916ms)
✔ dossier print and Word exports include the seven statements and approved ratios, escape labels and split wide tables (210.758625ms)
✔ F20-B reception before invoice: gross obligation and asset separated, no second payment on application (31.942792ms)
✔ F20-B invoice before reception does not recognize goods or expenses early (3.266667ms)
✔ F20-B service partial use and refund: no new income or expenditure (6.276ms)
✔ F20-B different operations of same supplier never offset each other (4.531875ms)
✔ F20-B application, refunds and remaining payments are bounded by same-parcel balances (2.215292ms)
✔ F20-B rejects special contracts, missing regime, invalid dates, duplicate parcels and inconsistent allocations (1.967666ms)
✔ F20-B missing or future recognition preserves advances, no inferred opening allocation or last-month cash (6.15225ms)
✔ F20-B snapshot 21 round-trips inactive agendas, rejects foreign versions and invalid active ledgers (5.280833ms)
✔ F20-B inactive mode preserves every old value and F20-A can coexist only on unselected categories (2.525083ms)
ℹ tests 59
ℹ suites 0
ℹ pass 58
ℹ fail 1
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 1177.769292
✖ failing tests:
test at tests\frontend\business-financial-plan.test.mjs:289:6
✖ monthly unit schedules must match the horizon and contain valid quantities (3.988791ms)
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Quantidade/. Input:
'Error: Previsão de Vendas / Unidades do produto 1, mês 1: preencha uma quantidade não negativa com até três casas decimais; indique zero apenas quando aplicável.'
at TestContext.<anonymous> (file:///C:/laragon/www/portal-investidor-continuity-qa-20261120/tests/frontend/business-financial-plan.test.mjs:304: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: Error: Previsão de Vendas / Unidades do produto 1, mês 1: preencha uma quantidade não negativa com até três casas decimais; indique zero apenas quando aplicável.
at file:///C:/laragon/www/portal-investidor-continuity-qa-20261120/resources/js/lib/business-financial-plan.ts:1893:31
at Array.map (<anonymous>)
at file:///C:/laragon/www/portal-investidor-continuity-qa-20261120/resources/js/lib/business-financial-plan.ts:1889:32
at Array.map (<anonymous>)
at forecastBusinessPlanBase (file:///C:/laragon/www/portal-investidor-continuity-qa-20261120/resources/js/lib/business-financial-plan.ts:1823:42)
at forecastBusinessPlan (file:///C:/laragon/www/portal-investidor-continuity-qa-20261120/resources/js/lib/business-financial-plan.ts:1507:42)
at file:///C:/laragon/www/portal-investidor-continuity-qa-20261120/tests/frontend/business-financial-plan.test.mjs:306:13
at getActual (node:assert:611:5)
at strict.throws (node:assert:759:24)
at TestContext.<anonymous> (file:///C:/laragon/www/portal-investidor-continuity-qa-20261120/tests/frontend/business-financial-plan.test.mjs:304:12),
expected: /Quantidade/,
operator: 'throws',
diff: 'simple'
}