DIV001_app_dividendslist_testcases.yml
1.0 KB
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
38
39
40
41
config:
name: DIV001-分红列表-数据源来自于实发订单
base_url: ${ENV(base_manager_url)}
variables:
orderType: null
partnerCategoryId: 2
searchText: ''
createTime: []
teststeps:
- name: 登录系统
variables:
phone: ${ENV(adminphone_app)}
testcase: testcases/common/m_app_login_testcases.yml
- name: 查看业务分红列表
api: api/m_api/dividends/m_dividends_list_api.yml
extract:
- num1: content.data.gridResult.totalRow
- name: 新增实发订单(业务订单)
variables:
partnerCategory: ${get_partnerCategory(2)}
partnerCategoryId: 2
saleDate: ${today_time_str()}
api: api/m_api/actual/m_add_app_order_actual_api.yml
validate:
- eq:
- content.msg
- ok
#
- name: 查看业务分红列表
api: api/m_api/dividends/m_dividends_list_api.yml
validate:
- eq:
- content.msg
- ok
- eq:
- content.data.gridResult.totalRow
- ${add($num1,1)}