COM008_loot_open_status_2_testcase.yml
664 字节
config:
name: 抢单任务状态验证-已发布,待领取
teststeps:
- name: 抢单任务状态验证-待发布
testcase: testcases/common/COM007_loot_update_status_1_testcase.yml
- name: 发布任务
api: api/m_api/loot/loot_open_api.yml
varidate:
validate:
- eq:
- content.msg
- ok
- name: 查看详情
api: api/m_api/loot/loot_detail_api.yml
variables:
status: ${get_task_status_2_from_database()}
msg: ok
varidate:
validate:
- eq:
- content.msg
- $msg
- eq:
- content.data.status
- $status