正在显示
4 个修改的文件
包含
92 行增加
和
0 行删除
1 | +config: | ||
2 | + name: ACT008-订单唯一性校验:只有订单号不一致,可以新增成功 | ||
3 | + base_url: ${ENV(base_manager_url)} | ||
4 | + variables: | ||
5 | + partnerID: 1047 | ||
6 | + commissionProportion: 5 | ||
7 | + orderNum1: 100 | ||
8 | + univalence: 15 | ||
9 | + partnerRatio: 10 | ||
10 | + orderNum2: 200 | ||
11 | +# orderId: '实发订单号${get_stringcode(5)}' | ||
12 | + shipmentsId: '实发订单发货单号${get_stringcode(5)}' | ||
13 | + productName: 产品名称${get_stringcode(5)} | ||
14 | +# univalence2: 15 | ||
15 | +# partnerRatio2: 20 | ||
16 | + | ||
17 | +teststeps: | ||
18 | + | ||
19 | +- name: 新增实际订单 | ||
20 | + testcase: testcases/common/COM001_actual_add_testcases.yml | ||
21 | + | ||
22 | +- name: 新增实发订单 | ||
23 | + api: api/m_api/actual/m_add_order_actual_api.yml | ||
24 | + validate: | ||
25 | + - eq: | ||
26 | + - content.msg | ||
27 | + - ok |
1 | +config: | ||
2 | + name: ACT009-订单唯一性校验:只有发货单号不一致,可以新增成功 | ||
3 | + base_url: ${ENV(base_manager_url)} | ||
4 | + variables: | ||
5 | + partnerID: 1047 | ||
6 | + commissionProportion: 5 | ||
7 | + orderNum1: 100 | ||
8 | + univalence: 15 | ||
9 | + partnerRatio: 10 | ||
10 | + orderNum2: 200 | ||
11 | + orderId: '实发订单号${get_stringcode(5)}' | ||
12 | +# shipmentsId: '实发订单发货单号${get_stringcode(5)}' | ||
13 | + productName: 产品名称${get_stringcode(5)} | ||
14 | +# univalence2: 15 | ||
15 | +# partnerRatio2: 20 | ||
16 | + | ||
17 | +teststeps: | ||
18 | + | ||
19 | +- name: 新增实际订单 | ||
20 | + testcase: testcases/common/COM001_actual_add_testcases.yml | ||
21 | + | ||
22 | +- name: 新增实发订单 | ||
23 | + api: api/m_api/actual/m_add_order_actual_api.yml | ||
24 | + validate: | ||
25 | + - eq: | ||
26 | + - content.msg | ||
27 | + - ok |
1 | +config: | ||
2 | + name: ACT010-订单唯一性校验:合伙人类型不一致,可以新增成功 | ||
3 | + base_url: ${ENV(base_manager_url)} | ||
4 | + variables: | ||
5 | + partnerID: 1047 | ||
6 | + commissionProportion: 5 | ||
7 | + orderNum1: 100 | ||
8 | + univalence: 15 | ||
9 | + partnerRatio: 10 | ||
10 | + orderNum2: 200 | ||
11 | + orderId: '实发订单号${get_stringcode(5)}' | ||
12 | + shipmentsId: '实发订单发货单号${get_stringcode(5)}' | ||
13 | + productName: 产品名称${get_stringcode(5)} | ||
14 | +# univalence2: 15 | ||
15 | +# partnerRatio2: 20 | ||
16 | + | ||
17 | +teststeps: | ||
18 | + | ||
19 | +- name: 新增实际订单 | ||
20 | + testcase: testcases/common/COM001_actual_add_testcases.yml | ||
21 | + | ||
22 | +- name: 新增实发订单 | ||
23 | + variables: | ||
24 | + partnerCategoryId: 2 | ||
25 | + api: api/m_api/actual/m_add_order_actual_api.yml | ||
26 | + validate: | ||
27 | + - eq: | ||
28 | + - content.msg | ||
29 | + - ok |
@@ -70,6 +70,15 @@ testcases: | @@ -70,6 +70,15 @@ testcases: | ||
70 | - name: ACT007-订单唯一性校验:新增订单号+发货单号+合伙人ID+合伙人类型+产品名称重复的实际订单,不可以新增成功 | 70 | - name: ACT007-订单唯一性校验:新增订单号+发货单号+合伙人ID+合伙人类型+产品名称重复的实际订单,不可以新增成功 |
71 | testcase: testcases/order/actual/ACT007_actual_ordercode_delivery_product_repeat_testcases.yml | 71 | testcase: testcases/order/actual/ACT007_actual_ordercode_delivery_product_repeat_testcases.yml |
72 | 72 | ||
73 | +- name: ACT008-订单唯一性校验:只有订单号不一致,可以新增成功 | ||
74 | + testcase: testcases/order/actual/ACT008_actual_repeat1_testcases.yml | ||
75 | + | ||
76 | +- name: ACT009-订单唯一性校验:只有发货单号不一致,可以新增成功 | ||
77 | + testcase: testcases/order/actual/ACT009_actual_repeat2_testcases.yml | ||
78 | + | ||
79 | +- name: ACT010-订单唯一性校验:合伙人类型不一致,可以新增成功 | ||
80 | + testcase: testcases/order/actual/ACT010_actual_repeat3_testcases.yml | ||
81 | + | ||
73 | #################################合伙人管理开始################################ | 82 | #################################合伙人管理开始################################ |
74 | - name: PARTNERS001-查看合伙人列表,数据正确 | 83 | - name: PARTNERS001-查看合伙人列表,数据正确 |
75 | testcase: testcases/partners/PARTNERS001_list_partner_testcases.yml | 84 | testcase: testcases/partners/PARTNERS001_list_partner_testcases.yml |
-
请 注册 或 登录 后发表评论