Loan Flow Test Suite

Loan Flow Test Suite

The saved-fixture runner below creates real application records, uploads documents, generates PDFs, and verifies exact PDF field contents plus fixture→persistence flow consistency. The scenario PDF audit above compares field values without creating records. Neither mode tests client-side wizard validation or browser interactions.

Scenario PDF audit — no saved applications

Generates real PDFs with the shared application layout and compares mapped labels and values against the test inputs. No new accounts, uploads, messages, or application records are created.

How this works: each checked box below generates its own separate scenario row per selected loan flow — they are never combined. Checking "Single applicant" does not modify the baseline row; it adds a separate row that strips the co-applicant. So the baseline row will still show a co-applicant (that is correct), and the single-applicant row below it will not.

Reference

Stress variants (each a separate scenario)

Changing loan flows or scenario choices clears the previous audit plan, results and related AI selections.

Phantom-Guard Test

Simulates the full draft lifecycle (create → submit → re-enter → re-submit → fresh start) for the selected flows and asserts no duplicate application record is ever created. Runs through the same data-layer guard the wizard uses.

Select loan flows (24/24)

Saved-fixture runner — creates records, uploads docs, verifies PDF contents

Creates real application + document records, generates per-product PDFs, and verifies exact PDF field contents against the persisted data. Results appear below. Changing loan flows clears the displayed results, not saved records.

AI recommendations · 0 selected

AI Fix gathers real evidence (persisted record, PDF text, fixture), auto-applies config-level fixes, and returns a precise source-edit spec for code issues. Review gives recommendations only. Uses AI credits.