WayWay Logistics

End-to-End Test Cases

This page allows you to test all integrated features of the WayWay Logistics system with Kuaidi100 integration.

Test Summary

Run all tests to verify the complete system functionality.

Passed: {{ passedTests }}
Failed: {{ failedTests }}
Pending: {{ pendingTests }}

Kuaidi100 API Integration Tests

Test Case 1: Create Delivery Order

Tests the creation of a delivery order through the Kuaidi100 API.

{{ testResults.createDeliveryOrder }}
{{ testLogs.createDeliveryOrder }}

Test Case 2: Calculate Delivery Fee

Tests the calculation of delivery fees based on pickup and delivery locations.

{{ testResults.calculateFee }}
{{ testLogs.calculateFee }}

Test Case 3: Track Order Status

Tests the retrieval of order status and tracking information.

{{ testResults.trackOrderStatus }}
{{ testLogs.trackOrderStatus }}

Test Case 4: Cancel Order

Tests the cancellation of an existing order.

{{ testResults.cancelOrder }}
{{ testLogs.cancelOrder }}

Test Case 5: Change Delivery Address

Tests updating the delivery address for an existing order.

{{ testResults.changeAddress }}
{{ testLogs.changeAddress }}

Webhook and Notification Tests

Test Case 6: Process Webhook Callback

Tests the processing of webhook callbacks for status updates.

{{ testResults.processWebhook }}
{{ testLogs.processWebhook }}

Test Case 7: Status Update Notification

Tests the notification system for order status updates.

{{ testResults.statusNotification }}
{{ testLogs.statusNotification }}

Payment Processing Tests

Test Case 8: Process Delivery Payment

Tests the processing of payments for delivery orders.

{{ testResults.processDeliveryPayment }}
{{ testLogs.processDeliveryPayment }}

Test Case 9: Process Container Deposit

Tests the processing of container deposit payments.

{{ testResults.processDeposit }}
{{ testLogs.processDeposit }}

Test Case 10: Process Refund

Tests the processing of refunds for cancelled orders.

{{ testResults.processRefund }}
{{ testLogs.processRefund }}

End-to-End Workflow Tests

Test Case 11: Complete Delivery Workflow

Tests the complete delivery workflow from order creation to completion.

{{ testResults.completeDeliveryWorkflow }}
{{ testLogs.completeDeliveryWorkflow }}

Test Case 12: Complete Return Workflow

Tests the complete return workflow from initiation to completion.

{{ testResults.completeReturnWorkflow }}
{{ testLogs.completeReturnWorkflow }}