The Invoice Pay wizard is the first GENUINE multi-data-step wizard: choose-method (collects bank-account + method) -> payment-details (collects check-number / handwritten-date / amounts), merged only at submit. This gate characterizes that flow before migrating it onto the session-backed engine, so the merge can be proven behavior-preserving. - Seed: make the TEST client's check bank account visible (+ name "Test Checking") so the choose-method step renders a usable method card. The pay flow had no e2e coverage, so the bank account was never visible in tests before. - Spec drives the real 2-step flow against the unmodified wizard: choose-method renders the bank account + its methods (print-check/debit/handwrite-check, in the card tooltip); picking handwrite-check advances to payment-details (check-number + date + Pay); filling the check number and submitting shows the completion modal. The handwrite-check path is used because it transacts a pending check payment directly (no PDF/S3), making the success assertion stable. Notes for the migration: the method controls live in a <template x-ref="tooltip"> revealed by the card button; the footer Pay submit is x-ref="next"; both the grid filters and the modal carry a check-number input, so the modal selectors are scoped to #wizard-form. Verification: invoice-pay spec 3/3; full suite 58/58 (no regressions from the seed change). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
3.7 KiB
3.7 KiB