Test Portal β Full E2E Flow Guide
Complete test guide from order placement to delivery and payment. Open multiple tabs, one per role.
Admin
Admin User
+91 9999999999Manage orders, accept as vendor, view live map, see OTPs
Customer
Admin User
+91 9999999999Browse vendors, place orders, track deliveries live with map
Vendor
Fresh Mart
+91 9876543210Accept incoming orders, see pickup OTP generated for rider
Rider
Deepak Kumar
+91 9876543212Go online, accept dispatch offers, GPS streams to tracking page
Worker
Amit Singh
+91 9876543213Works for KaamGhanta vertical β same panel as rider
Open these tabs in parallel: Shop Β· Rider Panel Β· Admin Dashboard Β· Tracking Page
Login with +919999999999 β Browse Fresh Mart β Add items β Checkout β Place Order
π‘ Copy the Order ID from the tracking URL
Find the PLACED order β click Accept button β Pickup OTP appears in both the toast and the OTP card
π‘ Pickup OTP also shows inside the order detail panel
Login as +919876543212 β Go ONLINE β Wait for offer card (within seconds) β Accept
π‘ GPS simulation starts immediately β check Live Map on admin
Click "Arrived at Vendor" β Enter the 4-digit Pickup OTP (shown on rider page as hint) β Confirm
π‘ Order status jumps to PICKED_UP on tracking page
GPS simulation streams rider location via Socket.IO β Rider pin moves on customer tracking map in real time
π‘ Admin Live Map at localhost:3002/live-map also shows the moving rider
On the tracking page, the orange Drop OTP box shows a 4-digit code β tell it to the rider
π‘ Drop OTP is visible once rider is assigned
Click "Arrived at Customer" β Enter the 4-digit Drop OTP β Confirm Delivery
π‘ Wallet balance updates instantly on rider panel
Open the completed order β Payment section shows βΉ credited to rider wallet (after 10% platform commission)
π‘ Dispatch offers section shows which riders were offered and their responses
1. Rider goes online β sends initial GPS position via POST /partner/online
2. Rider accepts offer β GPS simulation starts, interpolating from rider position to vendor location
3. Every 1.5s β rider page emits location:update via Socket.IO with the order ID
4. Gateway broadcasts location:partner to the track:{orderId} room
5. Customer tracking page subscribes to that room β rider π΅ pin moves smoothly on Leaflet map
6. Admin Live Map also updates (polls every 8s via GET /admin/partners/online)
7. After pickup OTP β new GPS simulation from vendor to customer destination starts automatically
Dispatch Platform β Local Dev Environment Β· All OTPs appear in-response (dev mode)