ACTUAL005_actual_detail_testcases.yml
606 字节
config:
name: 查看实际订单详情
base_url: ${ENV(base_manager_url)}
variables:
phone: ${get_admin_account_from_database(admin_user)}
orderStatue: ${get_order_status_from_database(order)}
teardown_hooks:
- ${sleep(2)}
teststeps:
- name: $phone 登录系统
testcase: testcases/m_login_testcases.yml
- name: $phone 查看实际订单详情
api: api/m_api/actual/m_order_actual_detail_api.yml
validate:
- eq:
- content.msg
- ok
- eq:
- content.data.orderStatue
- $orderStatue