...
|
...
|
@@ -19,6 +19,8 @@ teststeps: |
|
|
|
|
|
- name: 新增实发订单
|
|
|
api: api/m_api/actual/m_add_order_actual_api.yml
|
|
|
extract:
|
|
|
- orderid: content.data.id
|
|
|
validate:
|
|
|
- eq:
|
|
|
- content.msg
|
...
|
...
|
@@ -29,16 +31,23 @@ teststeps: |
|
|
extract:
|
|
|
- actual_id: content.data.gridResult.lists.0.id
|
|
|
validate:
|
|
|
# - eq:
|
|
|
# - content.data.gridResult.lists.0.shipmentsId
|
|
|
# - $shipmentsId
|
|
|
- eq:
|
|
|
- content.data.gridResult.lists.0.id
|
|
|
- ${convert_to_string($orderid)}
|
|
|
- eq:
|
|
|
- content.msg
|
|
|
- ok
|
|
|
- eq:
|
|
|
- content.data.gridResult.lists.0.orderNum
|
|
|
- ${add($orderNum1,$orderNum2)}
|
|
|
- eq:
|
|
|
- content.data.gridResult.lists.0.orderPrice
|
|
|
- 4500
|
|
|
|
|
|
|
|
|
- name: 查看实际订单详情
|
|
|
variables:
|
|
|
id: ${convert_to_string($actual_id)}
|
|
|
id: ${convert_to_string($orderid)}
|
|
|
api: api/m_api/actual/m_order_actual_detail_api.yml
|
|
|
validate:
|
|
|
- eq:
|
...
|
...
|
|