SECTION 1 — Dealer Test Lab (Admin-side Only)
Navigating to /AdminPanel/DealerTestLab works. ID: 1.1.1
Only admins can access the Test Lab route. ID: 1.1.2
Attempting access as a dealer returns 403 or auto-redirects. ID: 1.1.3
Scenario A (Dealer Finance): Loading state appears, Success banner, Order ID formatted, TEST badge shown. ID: 1.2.1
Scenario B (Cash): Loading state, Success banner, ID formatted, TEST badge shown. ID: 1.2.2
Scenario C (External): Loading state, Success banner, ID formatted, TEST badge shown. ID: 1.2.3
“Open F&I Screen” button opens correct URL in new tab. ID: 1.2.4
Order includes is_test_order: true ID: 1.3.1
Order includes source: 'dealer_test_lab' ID: 1.3.2
dealer_partner_id matches selected dealer ID: 1.3.3
payment_method, financing_mode, and estimate snapshot set correctly per scenario ID: 1.3.4
SECTION 2 — Dealer F&I Screen (DealerFinalizeOrder)
Vehicle details shown correctly. ID: 2.1.1
Buyer info shown correctly. ID: 2.1.2
Online estimate snapshot displayed for comparison. ID: 2.1.3
F&I form fields prefilled/empty as expected. ID: 2.1.4
Inline validation catches invalid values (no alerts). ID: 2.2.1
Invalid APR shows helpful error state. ID: 2.2.2
Monthly payment recalculates correctly. ID: 2.2.3
Protection plans can be added/removed. ID: 2.3.1
Totals update properly with protection plans. ID: 2.3.2
Order status updates to DEALER_FINALIZED_FI on approval. ID: 2.4.1
Dealer internal notes saved. ID: 2.4.2
BuyerFinalTerms link generated and works. ID: 2.4.3
SECTION 3 — Buyer Final Terms Page
Layout shows 'What you saw online' vs 'Final Terms'. ID: 3.1.1
Shows protection plans included. ID: 3.1.2
Shows correct total after tax. ID: 3.1.3
Clicking Accept updates status to CUSTOMER_ACCEPTED_TERMS. ID: 3.2.1
Timestamp saved. ID: 3.2.2
Redirect or success message shown. ID: 3.2.3
SECTION 4 — Admin Orders (Global Order Management)
Test orders hidden by default. ID: 4.1.1
Checking 'Show Test Orders' reveals them. ID: 4.1.2
TEST badge appears next to ID. ID: 4.1.3
All new statuses (RESERVATION_PLACED, PENDING_DEALER_FINANCE, etc.) appear in filter. ID: 4.2.1
Selecting filters shows correct orders. ID: 4.2.2
Each status displays correct color (no grey default for known statuses). ID: 4.3.1
Summary tiles count correctly (Completed includes new status, Pending includes new pending workflow). ID: 4.4.1
Order Details Modal: Overview tab correct. ID: 4.5.1
Order Details Modal: Vehicle/Payment tabs correct. ID: 4.5.2
SECTION 5 — Admin Bulk Tools & Cleanup
Delete button appears when test orders selected. ID: 5.1.1
Confirm dialog shows correct count. ID: 5.1.2
Signatures and Orders deleted successfully. ID: 5.1.3
Orders removed from list after deletion. ID: 5.1.4
SECTION 6 — End-to-End Workflow Test
Create dealer finance order in Test Lab. ID: 6.1.1
Open F&I screen → adjust terms → approve. ID: 6.1.2
Open BuyerFinalTerms → accept. ID: 6.1.3
Confirm progression: PENDING -> FINALIZED -> ACCEPTED. ID: 6.1.4
Manually mark as COMPLETED in Admin Orders. ID: 6.1.5
Verify updates in Dealer Portal and Admin Orders. ID: 6.1.6