URS-062 · Order Type Options (Dropship, Consignment, Direct Sales)
Status: PASS · Duration: 2m 23s · Run Date: April 21, 2026
Test Scenarios
Section titled “Test Scenarios”Step 1: Login as sales rep
Section titled “Step 1: Login as sales rep”

Step 2: All order types visible
Section titled “Step 2: All order types visible”
Step 3: Select order types
Section titled “Step 3: Select order types”


Step 4: Change delivery location
Section titled “Step 4: Change delivery location”

Step 5: Consignment order
Section titled “Step 5: Consignment order”



Step 6: Direct order
Section titled “Step 6: Direct order”



Step 7: Dropship order
Section titled “Step 7: Dropship order”



Step 8: Orders summary
Section titled “Step 8: Orders summary”
Recordings
Section titled “Recordings”step 01 login
Section titled “step 01 login”step 02 order types visible
Section titled “step 02 order types visible”step 03 select order types
Section titled “step 03 select order types”step 04 change location
Section titled “step 04 change location”step 05 consignment order
Section titled “step 05 consignment order”step 06 direct order
Section titled “step 06 direct order”step 07 dropship order
Section titled “step 07 dropship order”step 08 summary
Section titled “step 08 summary”Database Validations
Section titled “Database Validations”Recent orders created by test user
Section titled “Recent orders created by test user”At least one order should have been created during the test
SELECT id, request_number, order_type, status, location_id, sales_account_id, created_at FROM order_requests WHERE requested_by_user_id = $1 AND notes LIKE '%URS-062%' ORDER BY created_at DESC| id | request_number | order_type | status | location_id | sales_account_id | created_at |
|---|---|---|---|---|---|---|
| 019daddd-84ea-7891-bb7c-7773a2b0a23e | OR-3 | dropship | submitted | a3e7f8a9-b0c1-2345-0123-456789012345 | 2ac9d0e1-f2a3-4567-2345-678901234567 | 2026-04-21T02:27:49.087Z |
| 019daddd-19cd-7271-a877-a0e18734532e | OR-2 | direct | submitted | 81c5d6e7-f8a9-0123-8901-234567890123 | 1fb8c9d0-e1f2-3456-1234-567890123456 | 2026-04-21T02:27:21.664Z |
| 019daddc-be72-75a7-860a-98b3ea96d713 | OR-1 | consignment | submitted | 6ea3b4c5-d6e7-8901-6789-012345678901 | fea7b8c9-d0e1-2345-0123-456789012345 | 2026-04-21T02:26:58.278Z |
Consignment order created
Section titled “Consignment order created”A consignment order should exist from the test run
SELECT id, request_number, order_type, status, sales_account_id FROM order_requests WHERE requested_by_user_id = $1 AND order_type = 'consignment' AND notes LIKE '%URS-062%' ORDER BY created_at DESC LIMIT 1| id | request_number | order_type | status | sales_account_id |
|---|---|---|---|---|
| 019daddc-be72-75a7-860a-98b3ea96d713 | OR-1 | consignment | submitted | fea7b8c9-d0e1-2345-0123-456789012345 |
Direct order created
Section titled “Direct order created”A direct order should exist from the test run
SELECT id, request_number, order_type, status, sales_account_id FROM order_requests WHERE requested_by_user_id = $1 AND order_type = 'direct' AND notes LIKE '%URS-062%' ORDER BY created_at DESC LIMIT 1| id | request_number | order_type | status | sales_account_id |
|---|---|---|---|---|
| 019daddd-19cd-7271-a877-a0e18734532e | OR-2 | direct | submitted | 1fb8c9d0-e1f2-3456-1234-567890123456 |
Dropship order created
Section titled “Dropship order created”A dropship order should exist from the test run
SELECT id, request_number, order_type, status, sales_account_id FROM order_requests WHERE requested_by_user_id = $1 AND order_type = 'dropship' AND notes LIKE '%URS-062%' ORDER BY created_at DESC LIMIT 1| id | request_number | order_type | status | sales_account_id |
|---|---|---|---|---|
| 019daddd-84ea-7891-bb7c-7773a2b0a23e | OR-3 | dropship | submitted | 2ac9d0e1-f2a3-4567-2345-678901234567 |
All three order types present
Section titled “All three order types present”Orders of all three types (consignment, direct, dropship) should exist
SELECT order_type, COUNT(*) as order_count FROM order_requests WHERE requested_by_user_id = $1 AND notes LIKE '%URS-062%' GROUP BY order_type ORDER BY order_type| order_type | order_count |
|---|---|
| consignment | 1 |
| direct | 1 |
| dropship | 1 |
All orders have delivery locations
Section titled “All orders have delivery locations”Every order should have a delivery location assigned
SELECT orq.id, orq.order_type, orq.location_id, orq.sales_account_id, rwl.name as location_name, rwl.type as location_type FROM order_requests orq LEFT JOIN real_world_locations rwl ON rwl.id = orq.location_id WHERE orq.requested_by_user_id = $1 AND orq.created_at > NOW() - INTERVAL '30 minutes' ORDER BY orq.created_at DESC| id | order_type | location_id | sales_account_id | location_name | location_type |
|---|---|---|---|---|---|
| 019daddd-84ea-7891-bb7c-7773a2b0a23e | dropship | a3e7f8a9-b0c1-2345-0123-456789012345 | 2ac9d0e1-f2a3-4567-2345-678901234567 | Connecticut Ortho - Shipping | asc |
| 019daddd-19cd-7271-a877-a0e18734532e | direct | 81c5d6e7-f8a9-0123-8901-234567890123 | 1fb8c9d0-e1f2-3456-1234-567890123456 | Copley Hospital - Shipping | hospital |
| 019daddc-be72-75a7-860a-98b3ea96d713 | consignment | 6ea3b4c5-d6e7-8901-6789-012345678901 | fea7b8c9-d0e1-2345-0123-456789012345 | BOSS - Shipping | hospital |