loot_task_confirm_testcase.yml
891 字节
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
config:
name: 保存抢单任务-发布任务-确认领取人
teststeps:
- name: 登录系统
testcase: testcases/task/loot/save_loot_update_0_open_testcase.yml
- name: app端点击立即抢单
testcase: testcases/task/task_rewards_taskDetails_testcase.yml
- name: 确认领取人
api: api/m_api/loot/loot_task_confirm_api.yml
# variables:
# id: ${get_task_id()}
varidate:
validate:
- eq:
- content.msg
- ok
- name: 抢单任务详情
output:
- status
api: api/m_api/loot/task_loot_detail_api.yml
extract:
status: content.data.status
# variables:
# id: ${get_task_id()}
varidate:
validate:
- eq:
- content.msg
- ok
- eq:
- content.data.status
- $status