78 lines
5.8 KiB
Plaintext
78 lines
5.8 KiB
Plaintext
✔ financial forecast reconciles revenue, finance sources, working capital and monthly cash (5.220291ms)
|
||
✔ opening payable installments reduce cash without changing profit and retain unpaid balances (1.814625ms)
|
||
✔ opening payable schedule caps cent rounding at the remaining balance (0.299ms)
|
||
✔ monthly unit schedules drive revenue, costs, inventory and scenario volume (1.867667ms)
|
||
✖ monthly unit schedules must match the horizon and contain valid quantities (1.476583ms)
|
||
✔ monthly prices and unit costs affect revenue, consumption and scenarios (2.155834ms)
|
||
✔ monthly money schedules cover the horizon and reject invalid amounts (0.890042ms)
|
||
✔ monthly operating and payroll expense schedules remain separate from payments (1.262791ms)
|
||
✔ monthly operating schedules require full horizon, exact cents and current snapshot version (3.891709ms)
|
||
✔ losses and negative closing cash remain visible instead of being clamped to zero (1.412292ms)
|
||
✔ principal repayments affect cash but are excluded from profit expenses (0.878667ms)
|
||
✔ depreciation allocation reconciles exactly over useful life (0.282208ms)
|
||
✔ missing currency, products, invalid numbers and invalid horizons are explicit errors (0.865083ms)
|
||
✔ versioned plan snapshots restore assumptions and reject unsupported or oversized data (2.243709ms)
|
||
✔ business plan serializer refuses snapshots above the server storage limit (0.245083ms)
|
||
✔ sales invoicing and receipts follow an optional declared collection lag (0.57725ms)
|
||
✔ scheduled collection percentage keeps unpaid invoices in receivables with exact rounding (0.445292ms)
|
||
✔ sales recovery applies only to overdue invoices and never exceeds open balances (0.727375ms)
|
||
✔ opening receivables affect cash only when a month and collection percentage are declared (0.581292ms)
|
||
✔ opening receivable installments reconcile to the initial balance across months (1.840542ms)
|
||
✔ opening receivable installments cap independently rounded cents at the available balance (0.330417ms)
|
||
✔ inventory purchases, consumption, closing stock and stock shortfall reconcile independently of payments (0.214916ms)
|
||
✔ inventory lead time separates monthly orders, receipts, shortages and goods still in transit (0.359166ms)
|
||
✔ monthly inventory purchase schedule reconciles variable orders, lead times, receipts and transit (1.693ms)
|
||
✔ monthly variable purchase payments affect cash independently from inventory orders and profit (0.380625ms)
|
||
✔ product inventory schedules reconcile independently and do not transfer stock between products (1.280958ms)
|
||
✔ supplier payment terms drive purchase cash flow and expose amounts due beyond the horizon (0.974417ms)
|
||
✔ supplier order installments reconcile exact cents, cash dates and unallocated balances (1.30975ms)
|
||
✔ business assumptions survive the existing encrypted-draft snapshot split and restore (1.730917ms)
|
||
✔ presentation currency conversion requires and reports its rate, date, and declared source (1.925417ms)
|
||
✔ CSV marks presentation currency conversion as an unverified user planning assumption (1.85125ms)
|
||
✔ business plan export carries its assumptions, formulas, period, currency, and matching result (1.427541ms)
|
||
✔ business plan CSV preserves declared monthly product schedules (0.485958ms)
|
||
✔ CSV export exposes the sales collection assumption and outstanding receivable (1.593958ms)
|
||
✔ business plan CSV neutralizes formula-like labels and preserves negative financial values (1.207916ms)
|
||
✔ financial scenarios expose user-declared changes without creating tax values (9.2825ms)
|
||
ℹ tests 36
|
||
ℹ suites 0
|
||
ℹ pass 35
|
||
ℹ fail 1
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 412.537708
|
||
|
||
✖ failing tests:
|
||
|
||
test at tests\frontend\.f20-b-baseline.test.mjs:289:6
|
||
✖ monthly unit schedules must match the horizon and contain valid quantities (1.476583ms)
|
||
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/.f20-b-baseline.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/.f20-b-baseline.ts:1842:31
|
||
at Array.map (<anonymous>)
|
||
at file:///C:/laragon/www/portal-investidor-continuity-qa-20261120/resources/js/lib/.f20-b-baseline.ts:1838:32
|
||
at Array.map (<anonymous>)
|
||
at forecastBusinessPlanBase (file:///C:/laragon/www/portal-investidor-continuity-qa-20261120/resources/js/lib/.f20-b-baseline.ts:1772:42)
|
||
at forecastBusinessPlan (file:///C:/laragon/www/portal-investidor-continuity-qa-20261120/resources/js/lib/.f20-b-baseline.ts:1472:16)
|
||
at file:///C:/laragon/www/portal-investidor-continuity-qa-20261120/tests/frontend/.f20-b-baseline.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/.f20-b-baseline.test.mjs:304:12),
|
||
expected: /Quantidade/,
|
||
operator: 'throws',
|
||
diff: 'simple'
|
||
}
|