URS-064 · Bill-Only improvements: manufacturer, missing-PO label, PO upload, PO number
Status: PASS · Duration: 56s · Run Date: April 21, 2026
Test Scenarios
Section titled “Test Scenarios”Step 1: Partner field visible on detail page
Section titled “Step 1: Partner field visible on detail page”
Step 2: Manufacturer auto-populated on /billing/new
Section titled “Step 2: Manufacturer auto-populated on /billing/new”
Step 3: BO before Change Status
Section titled “Step 3: BO before Change Status”
Step 3: Change Status dialog open
Section titled “Step 3: Change Status dialog open”
Step 3: “PO Missing” badge on detail page
Section titled “Step 3: “PO Missing” badge on detail page”
Step 3: BO shown under the PO Missing filter
Section titled “Step 3: BO shown under the PO Missing filter”
Step 4: BO detail before opening Add PO dialog
Section titled “Step 4: BO detail before opening Add PO dialog”
Step 4: Upload dialog open with file-picker
Section titled “Step 4: Upload dialog open with file-picker”
Step 4: PDF file selected in the upload dialog
Section titled “Step 4: PDF file selected in the upload dialog”
Step 4: PO document attached to the BO
Section titled “Step 4: PO document attached to the BO”
Step 5: PO Number field in read mode
Section titled “Step 5: PO Number field in read mode”
Step 5: PO Number entered
Section titled “Step 5: PO Number entered”
Step 5: PO Number saved
Section titled “Step 5: PO Number saved”
Step 6: PO number and document persist after reload
Section titled “Step 6: PO number and document persist after reload”
Recordings
Section titled “Recordings”step 01 single partner on detail page
Section titled “step 01 single partner on detail page”step 02 single manufacturer create flow
Section titled “step 02 single manufacturer create flow”step 03 missing po label
Section titled “step 03 missing po label”step 04 upload po
Section titled “step 04 upload po”step 05 manual po number
Section titled “step 05 manual po number”step 06 persistence
Section titled “step 06 persistence”Database Validations
Section titled “Database Validations”ZBO-2025-002 is in po_missing status after the Change Status step
Section titled “ZBO-2025-002 is in po_missing status after the Change Status step”ZBO-2025-002.status must equal “po_missing” after the Playwright scenario transitions it via the Change Status dialog.
SELECT id, order_number, status, po_number FROM billing_orders WHERE id = $1| id | order_number | status | po_number |
|---|---|---|---|
| ba000002-0000-4000-8000-000000000002 | ZBO-2025-002 | po_missing |
ZBO-2025-002 po_number is cleared by the po_missing transition
Section titled “ZBO-2025-002 po_number is cleared by the po_missing transition”ZBO-2025-002.po_number must be NULL after transitioning to po_missing (ChangeStatusDialog clears po_number as a side-effect of this status).
SELECT id, order_number, status, po_number FROM billing_orders WHERE id = $1| id | order_number | status | po_number |
|---|---|---|---|
| ba000002-0000-4000-8000-000000000002 | ZBO-2025-002 | po_missing |
ZBO-2025-001 has po_number = “PO-URS-064-TEST-001” after the manual entry step
Section titled “ZBO-2025-001 has po_number = “PO-URS-064-TEST-001” after the manual entry step”ZBO-2025-001.po_number must equal the value typed into the EditPoNumberForm in Step 5.
SELECT id, order_number, status, po_number FROM billing_orders WHERE id = $1| id | order_number | status | po_number |
|---|---|---|---|
| ba000001-0000-4000-8000-000000000001 | ZBO-2025-001 | draft | PO-URS-064-TEST-001 |
ZBO-2025-001 has a billing_order_files row with file_type=“purchase_order”
Section titled “ZBO-2025-001 has a billing_order_files row with file_type=“purchase_order””ZBO-2025-001 must have at least one billing_order_files row with file_type=“purchase_order” after the Add PO dialog submits.
SELECT id, billing_order_id, file_type, created_at FROM billing_order_files WHERE billing_order_id = $1 AND file_type = 'purchase_order' ORDER BY created_at DESC| id | billing_order_id | file_type | created_at |
|---|---|---|---|
| 019dae24-6241-721c-9135-bfe1d5416ab7 | ba000001-0000-4000-8000-000000000001 | purchase_order | 2026-04-21T08:45:13.223Z |