作者 dengyuting

add 1021

name: 编辑事业分红
base_url: ${ENV(base_manager_url)}
variables:
id: 1072
quantityControl: '50'
stateOfPayment: 1
remark:
productId: 2132
teardown_hooks:
- ${sleep(2)}
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
Authorization: Bearer ${get_m_accesstoken()}
json:
id: $id
dividendPayment:
- productId: $productId
quantityControl: $quantityControl
remark:
stateOfPayment: $stateOfPayment
method: POST
url: /v1/dividends/edit
# extract:
# - num: content.data.gridResult.totalRow
validate:
- eq:
- content.msg
- ok
... ...
... ... @@ -16,7 +16,7 @@ request:
User-Agent: okhttp/3.12.3
Authorization: Bearer ${get_m_accesstoken()}
json:
orderId: '意向订单号${get_nowtime()}'
orderId: $orderId
buyer: '客户名称${get_stringcode(5)}'
orderDist: '订单区域${get_stringcode(5)}'
partnerID: $partnerID
... ...
... ... @@ -121,4 +121,8 @@ def add(x, y):
def convert_to_string(value):
return str(value)
\ No newline at end of file
return str(value)
def convert_to_int(value):
return int(value)
\ No newline at end of file
... ...
# -*- coding:utf-8 -*-
# @Time :2019/12/4 9:37
# @Author :dengyuting
# @File :sendmsg.py
import os
import json
import requests
JENKINS_URL = str(os.getenv("JENKINS_URL"))
BUILD_NUMBER = str(os.getenv("BUILD_NUMBER"))
JOB_NAME = str(os.getenv("JOB_NAME"))
CAUSE = str(os.getenv("CAUSE"))
BUILD_URL = str(os.getenv("BUILD_URL"))
JOB_URL = str(os.getenv("JOB_URL"))
path = os.path.dirname(__file__)
summary_file = os.path.join(path, 'logs','testsuites','opp_testsuites.summary.json')
def getresult():
try:
with open(summary_file, 'r', encoding='UTF-8') as f:
f = f.read()
jsonfile = json.loads(f)
if jsonfile["success"] == True:
result = "SUCCESS"
else:
result = "FAIL"
total = jsonfile["stat"]["testcases"]["total"]
success = jsonfile["stat"]["testcases"]["success"]
fail = jsonfile["stat"]["testcases"]["fail"]
duration = round(jsonfile["time"]["duration"])
# teststeps_total = jsonfile["stat"]["teststeps"]["total"]
# teststeps_successes = jsonfile["stat"]["teststeps"]["successes"]
# teststeps_failures = jsonfile["stat"]["teststeps"]["failures"]
# teststeps_errors = jsonfile["stat"]["teststeps"]["errors"]
# teststeps_skipped = jsonfile["stat"]["teststeps"]["skipped"]
return result, total, success, fail, duration
except Exception as err:
print("this is err:{}" .format(err))
def sendinfo():
r =getresult()
data = {}
data['msgtype'] = 'text'
data['text'] = {}
data['text']['content'] = '天联共创项目【mmm_partner_api_test】:' \
'\n测试结果:'+r[0]+ \
'\n执行时间:' +str(r[4])+ \
's\n共执行测试用例:' +str(r[1]) +'\nSUCCESS:' +str(r[2])+ '\nFAIL:' +str(r[3])+ \
'\n测试报告地址:http://jenkins.fjmaimaimai.com/view/test/job/mmm_opp_api_test/HTML_20Report/'
# data['text']['mentioned_mobile_list'] = ["13559112969","@all"]
# data['text']['content'] = '【opp_api】测试执行结果:' + r[0] + \
# '\n 执行时间:' + str(r[4]) + \
# 's\n TOTAL:' + str(r[1]) + '\n SUCCESS:' + str(r[2]) + '\n FAIL:' + str(r[3])
url = 'https://oapi.dingtalk.com/robot/send?access_token=78c1856d146224126b471f17a6b060d118c3fcb1e60155ec7e9ec5c45fdc01f6'
headers = {'Content-Type': 'application/json'}
requests.post(url, json=data, headers=headers)
if __name__ == '__main__':
sendinfo()
... ...
... ... @@ -11,8 +11,10 @@ config:
orderNum2: 200
univalence2: 15
partnerRatio2: 20
export:
output:
- actual_id
- product_id_1
- product_id_2
teststeps:
... ... @@ -35,4 +37,25 @@ teststeps:
validate:
- eq:
- content.data.gridResult.lists.0.shipmentsId
- $shipmentsId
\ No newline at end of file
- $shipmentsId
- name: 查看实际订单详情
variables:
id: ${convert_to_string($actual_id)}
api: api/m_api/actual/m_order_actual_detail_api.yml
extract:
- product_id_1: content.data.product.0.id
- product_id_2: content.data.product.1.id
validate:
- eq:
- content.data.orderNumCount
- ${add($orderNum1,$orderNum2)}
- eq:
- content.data.orderAmountAdjustmentCount
- 4500
- eq:
- content.data.product.0.orderPrice
- 1500
- eq:
- content.data.product.1.orderPrice
- 3000
\ No newline at end of file
... ...
config:
name: m_login_testcases
name: 管理后台登陆
# base_url: ${ENV(base_manager_url)}
variables:
phone: ${ENV(adminphone)}
... ...
config:
name: DIV003-事业分红详情-各个值计算正确
name: DIV003-事业分红详情-初始状态-各个值计算正确
base_url: ${ENV(base_manager_url)}
teststeps:
- name: 新增实际订单
testcase: testcases/common/COM001_actual_add_testcases.yml
export:
output:
- actual_id
- name: 查看该订单的事业分红详情
... ... @@ -14,5 +14,57 @@ teststeps:
api: api/m_api/dividends/m_dividends_detail_api.yml
validate:
- eq:
- content.msg
- ok
\ No newline at end of file
- content.data.order.id
- $actual_id
#####总数量
- eq:
- content.data.dividendCount.orderNum
- 300
#####总金额
- eq:
- content.data.dividendCount.orderAmountAdjustment
- 4500
####业务员抽成
- eq:
- content.data.dividendCount.expectedCommission
- 225
#####合伙人应收分红总额
- eq:
- content.data.dividendCount.partnerDividends
- 750
#####合伙人未收分红总额
- eq:
- content.data.dividendCount.notReceivedDividend
- 750
#####产品1总金额
- eq:
- content.data.product.0.detail.orderPrice
- 1500
#####产品1应收分红
- eq:
- content.data.product.0.detail.partnerDividendsReceivable
- 150
#####产品1未收分红
- eq:
- content.data.product.0.notReceivedDividend
- 150
#####产品1分红状态
- eq:
- content.data.product.0.stateOfPayment
- 1
#####产品2总金额
- eq:
- content.data.product.1.detail.orderPrice
- 3000
#####产品2应收分红
- eq:
- content.data.product.1.detail.partnerDividendsReceivable
- 600
#####产品2未收分红
- eq:
- content.data.product.1.notReceivedDividend
- 600
#####产品2分红状态
- eq:
- content.data.product.1.stateOfPayment
- 1
\ No newline at end of file
... ...
config:
name: DIV004-事业分红-调整数量-各个值计算正确
base_url: ${ENV(base_manager_url)}
variables:
quantityControl: '50'
stateOfPayment: 1
remark:
teststeps:
- name: 新增实际订单
testcase: testcases/common/COM001_actual_add_testcases.yml
output:
- actual_id
- product_id_1
- product_id_2
- name: 编辑事业分红-数量由100调整为50
variables:
id: $actual_id
productId: $product_id_1
api: api/m_api/dividends/m_dividends_edit_api.yml
validate:
- eq:
- content.msg
- ok
- name: 查看事业分红列表
api: api/m_api/dividends/m_dividends_list_api.yml
validate:
#####已支付状态=1
- eq:
- content.data.gridResult.lists.0.stateOfPayment
- 1
######应收分红
- eq:
- content.data.gridResult.lists.0.dividendsReceivable
- 675
#####已收分红
- eq:
- content.data.gridResult.lists.0.receiveDividends
- 0
#####未收分红
- eq:
- content.data.gridResult.lists.0.uncollectedDividends
- 675
- name: 查看该订单的事业分红详情
variables:
id: ${convert_to_string($actual_id)}
api: api/m_api/dividends/m_dividends_detail_api.yml
validate:
- eq:
- content.data.order.id
- $actual_id
#####初始总数量
- eq:
- content.data.dividendCount.orderNum
- 300
#####初始总金额
- eq:
- content.data.dividendCount.orderAmountAdjustment
- 4500
#####调整后数量
- eq:
- content.data.dividendCount.orderNumControl
- ${convert_to_string(250)}
#####调整后总金额
- eq:
- content.data.dividendCount.orderAmountAdjustmentControl
- ${convert_to_string(3750)}
####业务员抽成
- eq:
- content.data.dividendCount.expectedCommission
- 187.5
#####合伙人应收分红总额
- eq:
- content.data.dividendCount.partnerDividends
- 750
#####合伙人应收分红总额调整
- eq:
- content.data.dividendCount.partnerDividendsControl
- ${convert_to_string(675)}
#####合伙人未收分红总额
- eq:
- content.data.dividendCount.notReceivedDividend
- 675
#####合伙人已收分红总额
- eq:
- content.data.dividendCount.receivedDividends
- 0
#####产品1是否正确
- eq:
- content.data.product.0.id
- $product_id_1
#####产品1总金额
- eq:
- content.data.product.0.detail.orderPrice
- 1500
#####产品1应收分红
- eq:
- content.data.product.0.detail.partnerDividendsReceivable
- 150
#####产品1数量调整
- eq:
- content.data.product.0.quantityControl
- $quantityControl
#####产品1未收分红
- eq:
- content.data.product.0.notReceivedDividend
- 75
#####产品1已收分红
- eq:
- content.data.product.0.receivedDividends
- 0
#####产品1分红调整
- eq:
- content.data.product.0.partnerDividendControl
- ${convert_to_string(75)}
#####产品1分红状态
- eq:
- content.data.product.0.stateOfPayment
- 1
#####产品2总金额
- eq:
- content.data.product.1.detail.orderPrice
- 3000
#####产品2应收分红
- eq:
- content.data.product.1.detail.partnerDividendsReceivable
- 600
#####产品2未收分红
- eq:
- content.data.product.1.notReceivedDividend
- 600
#####产品2分红状态
- eq:
- content.data.product.1.stateOfPayment
- 1
- name: 查看实际订单列表
api: api/m_api/actual/m_order_actual_partner_list_api.yml
validate:
- eq:
- content.data.gridResult.lists.0.id
- $actual_id
- eq:
- content.data.gridResult.lists.0.orderNum
- 300
- eq:
- content.data.gridResult.lists.0.quantityControl
- ${convert_to_string(250)}
- eq:
- content.data.gridResult.lists.0.orderPrice
- 4500
- eq:
- content.data.gridResult.lists.0.priceControl
- ${convert_to_string(3750)}
- name: 查看实际订单详情
variables:
id: ${convert_to_string($actual_id)}
api: api/m_api/actual/m_order_actual_detail_api.yml
validate:
- eq:
- content.data.orderNumCount
- 300
- eq:
- content.data.orderAmountAdjustmentCount
- 4500
- eq:
- content.data.orderNumCountControl
- ${convert_to_string(250)}
- eq:
- content.data.orderAmountAdjustmentCountControl
- ${convert_to_string(3750)}
- eq:
- content.data.product.0.orderPrice
- 1500
- eq:
- content.data.product.0.quantityControl
- $quantityControl
- eq:
- content.data.product.0.priceControl
- ${convert_to_string(750)}
- eq:
- content.data.product.1.orderPrice
- 3000
\ No newline at end of file
... ...
config:
name: DIV005-事业分红-调整数量-更改支付状态-各个值计算正确
base_url: ${ENV(base_manager_url)}
variables:
quantityControl: '50'
stateOfPayment: 2
remark:
teststeps:
- name: 新增实际订单
testcase: testcases/common/COM001_actual_add_testcases.yml
output:
- actual_id
- product_id_1
- product_id_2
- name: 编辑事业分红-数量由100调整为50,支付状态改为已支付
variables:
id: $actual_id
productId: $product_id_1
api: api/m_api/dividends/m_dividends_edit_api.yml
validate:
- eq:
- content.msg
- ok
- name: 查看事业分红列表
api: api/m_api/dividends/m_dividends_list_api.yml
validate:
- eq:
- content.data.gridResult.lists.0.stateOfPayment
- 2
- eq:
- content.data.gridResult.lists.0.dividendsReceivable
- 675
- eq:
- content.data.gridResult.lists.0.receiveDividends
- 75
- eq:
- content.data.gridResult.lists.0.uncollectedDividends
- 600
- name: 查看该订单的事业分红详情
variables:
id: ${convert_to_string($actual_id)}
api: api/m_api/dividends/m_dividends_detail_api.yml
validate:
- eq:
- content.data.order.id
- $actual_id
#####初始总数量
- eq:
- content.data.dividendCount.orderNum
- 300
#####初始总金额
- eq:
- content.data.dividendCount.orderAmountAdjustment
- 4500
#####调整后数量
- eq:
- content.data.dividendCount.orderNumControl
- ${convert_to_string(250)}
#####调整后总金额
- eq:
- content.data.dividendCount.orderAmountAdjustmentControl
- ${convert_to_string(3750)}
####业务员抽成
- eq:
- content.data.dividendCount.expectedCommission
- 187.5
#####合伙人应收分红总额
- eq:
- content.data.dividendCount.partnerDividends
- 750
#####合伙人应收分红总额调整
- eq:
- content.data.dividendCount.partnerDividendsControl
- ${convert_to_string(675)}
#####合伙人未收分红总额
- eq:
- content.data.dividendCount.notReceivedDividend
- 600
#####合伙人已收分红总额
- eq:
- content.data.dividendCount.receivedDividends
- 75
#####产品1是否正确
- eq:
- content.data.product.0.id
- $product_id_1
#####产品1总金额
- eq:
- content.data.product.0.detail.orderPrice
- 1500
#####产品1应收分红
- eq:
- content.data.product.0.detail.partnerDividendsReceivable
- 150
#####产品1数量调整
- eq:
- content.data.product.0.quantityControl
- $quantityControl
#####产品1未收分红
- eq:
- content.data.product.0.notReceivedDividend
- 0
#####产品1已收分红
- eq:
- content.data.product.0.receivedDividends
- 75
#####产品1分红调整
- eq:
- content.data.product.0.partnerDividendControl
- ${convert_to_string(75)}
#####产品1分红状态
- eq:
- content.data.product.0.stateOfPayment
- 2
#####产品2总金额
- eq:
- content.data.product.1.detail.orderPrice
- 3000
#####产品2应收分红
- eq:
- content.data.product.1.detail.partnerDividendsReceivable
- 600
#####产品2未收分红
- eq:
- content.data.product.1.notReceivedDividend
- 600
#####产品2分红状态
- eq:
- content.data.product.1.stateOfPayment
- 1
- name: 查看实际订单列表
api: api/m_api/actual/m_order_actual_partner_list_api.yml
validate:
- eq:
- content.data.gridResult.lists.0.id
- $actual_id
- eq:
- content.data.gridResult.lists.0.orderNum
- 300
- eq:
- content.data.gridResult.lists.0.quantityControl
- ${convert_to_string(250)}
- eq:
- content.data.gridResult.lists.0.orderPrice
- 4500
- eq:
- content.data.gridResult.lists.0.priceControl
- ${convert_to_string(3750)}
- name: 查看实际订单详情
variables:
id: ${convert_to_string($actual_id)}
api: api/m_api/actual/m_order_actual_detail_api.yml
validate:
- eq:
- content.data.orderNumCount
- 300
- eq:
- content.data.orderAmountAdjustmentCount
- 4500
- eq:
- content.data.orderNumCountControl
- ${convert_to_string(250)}
- eq:
- content.data.orderAmountAdjustmentCountControl
- ${convert_to_string(3750)}
- eq:
- content.data.product.0.orderPrice
- 1500
- eq:
- content.data.product.0.quantityControl
- $quantityControl
- eq:
- content.data.product.0.priceControl
- ${convert_to_string(750)}
- eq:
- content.data.product.1.orderPrice
- 3000
\ No newline at end of file
... ...
config:
name: DIV006-事业分红-已支付订单数量减少
base_url: ${ENV(base_manager_url)}
variables:
stateOfPayment: 2
remark:
teststeps:
- name: 新增实际订单
testcase: testcases/common/COM001_actual_add_testcases.yml
output:
- actual_id
- product_id_1
- product_id_2
- name: 编辑事业分红-支付状态改为已支付
variables:
id: $actual_id
productId: $product_id_1
quantityControl: ''
api: api/m_api/dividends/m_dividends_edit_api.yml
validate:
- eq:
- content.msg
- ok
- name: 编辑事业分红-已支付订单数量减少
variables:
id: $actual_id
quantityControl: '60'
stateOfPayment: 2
productId: $product_id_1
api: api/m_api/dividends/m_dividends_edit_api.yml
validate:
- eq:
- content.msg
- ok
- name: 查看事业分红列表
api: api/m_api/dividends/m_dividends_list_api.yml
validate:
- eq:
- content.data.gridResult.lists.0.stateOfPayment
- 2
####应收分红
- eq:
- content.data.gridResult.lists.0.dividendsReceivable
- 690
####已收分红
- eq:
- content.data.gridResult.lists.0.receiveDividends
- 150
####未收分红
- eq:
- content.data.gridResult.lists.0.uncollectedDividends
- 600
####分红支出
- eq:
- content.data.gridResult.lists.0.dividendSpending
- 60
- name: 查看该订单的事业分红详情
variables:
id: ${convert_to_string($actual_id)}
api: api/m_api/dividends/m_dividends_detail_api.yml
validate:
- eq:
- content.data.order.id
- $actual_id
#####初始总数量
- eq:
- content.data.dividendCount.orderNum
- 300
#####初始总金额
- eq:
- content.data.dividendCount.orderAmountAdjustment
- 4500
#####调整后数量
- eq:
- content.data.dividendCount.orderNumControl
- ${convert_to_string(260)}
#####调整后总金额
- eq:
- content.data.dividendCount.orderAmountAdjustmentControl
- ${convert_to_string(3900)}
####业务员抽成
- eq:
- content.data.dividendCount.expectedCommission
- 195
#####合伙人应收分红总额
- eq:
- content.data.dividendCount.partnerDividends
- 750
#####合伙人应收分红总额调整
- eq:
- content.data.dividendCount.partnerDividendsControl
- ${convert_to_string(690)}
#####合伙人未收分红总额
- eq:
- content.data.dividendCount.notReceivedDividend
- 600
#####合伙人已收分红总额
- eq:
- content.data.dividendCount.receivedDividends
- 150
#####合伙人分红支出
- eq:
- content.data.dividendCount.dividendSpending
- 60
#####产品1是否正确
- eq:
- content.data.product.0.id
- $product_id_1
#####产品1总金额
- eq:
- content.data.product.0.detail.orderPrice
- 1500
#####产品1应收分红
- eq:
- content.data.product.0.detail.partnerDividendsReceivable
- 150
#####产品1数量调整
- eq:
- content.data.product.0.quantityControl
- ${convert_to_string(60)}
#####产品1金额调整
- eq:
- content.data.product.0.amountControl
- ${convert_to_string(900)}
#####产品1分红调整
- eq:
- content.data.product.0.partnerDividendControl
- ${convert_to_string(90)}
#####产品1未收分红
- eq:
- content.data.product.0.notReceivedDividend
- 0
#####产品1已收分红
- eq:
- content.data.product.0.receivedDividends
- 150
#####产品1分红支出
- eq:
- content.data.product.0.dividendSpending
- 60
#####产品1分红状态
- eq:
- content.data.product.0.stateOfPayment
- 2
#####产品2总金额
- eq:
- content.data.product.1.detail.orderPrice
- 3000
#####产品2应收分红
- eq:
- content.data.product.1.detail.partnerDividendsReceivable
- 600
#####产品2未收分红
- eq:
- content.data.product.1.notReceivedDividend
- 600
#####产品2分红状态
- eq:
- content.data.product.1.stateOfPayment
- 1
- name: 查看实际订单列表
api: api/m_api/actual/m_order_actual_partner_list_api.yml
validate:
- eq:
- content.data.gridResult.lists.0.id
- $actual_id
###订单数量
- eq:
- content.data.gridResult.lists.0.orderNum
- 300
####订单数量调整
- eq:
- content.data.gridResult.lists.0.quantityControl
- ${convert_to_string(260)}
####订单金额
- eq:
- content.data.gridResult.lists.0.orderPrice
- 4500
####订单金额调整
- eq:
- content.data.gridResult.lists.0.priceControl
- ${convert_to_string(3900)}
- name: 查看实际订单详情
variables:
id: ${convert_to_string($actual_id)}
api: api/m_api/actual/m_order_actual_detail_api.yml
validate:
- eq:
- content.data.orderNumCount
- 300
- eq:
- content.data.orderAmountAdjustmentCount
- 4500
- eq:
- content.data.orderNumCountControl
- ${convert_to_string(260)}
- eq:
- content.data.orderAmountAdjustmentCountControl
- ${convert_to_string(3900)}
- eq:
- content.data.product.0.orderPrice
- 1500
- eq:
- content.data.product.0.quantityControl
- ${convert_to_string(60)}
- eq:
- content.data.product.0.priceControl
- ${convert_to_string(900)}
- eq:
- content.data.product.1.orderPrice
- 3000
\ No newline at end of file
... ...
config:
name: 合伙人测试集
testcases:
#- name: ADMIN001:新增管理员
# testcase: testcases/admin/ADMIN001_add_admin_testcases.yml
# parameters:
# account: ${create_phone_number(1)}
#
#- name: ADMIN002:编辑管理员
# testcase: testcases/admin/ADMIN002_edit_admin_testcases.yml
#
#- name: ADMIN003:搜索管理员
# testcase: testcases/admin/ADMIN003_list_admin_testcases.yml
#
#- name: ADMIN004:查看管理员
# testcase: testcases/admin/ADMIN004_detail_admin_testcases.yml
#
#- name: ADMIN005:禁用管理员
# testcase: testcases/admin/ADMIN005_forbidden_admin_testcases.yml
#
#- name: ADMIN006:启用管理员
# testcase: testcases/admin/ADMIN006_forbidden_admin_testcases.yml
- name: PARTNERS001:新增合伙人
testcase: testcases/partners/PARTNERS001_add_partner_testcases.yml
parameters:
account: ${create_phone_number(1)}
############################分红管理模块开始#################################
- name: DIV001-事业分红列表-数据源来自于实发订单
testcase: testcases/dividends/DIV001_dividendslist_testcases.yml
#- name: PARTNERS002:编辑合伙人
# testcase: testcases/partners/PARTNERS002_edit_partner_testcases.yml
#
#- name: PARTNERS003:搜索合伙类型
# testcase: testcases/partners/PARTNERS003_list_partner_testcases.yml
#
#- name: PARTNERS004:搜索合伙人名称
# testcase: testcases/partners/PARTNERS004_list_partner_testcases.yml
#
#- name: PARTNERS005:查看合伙人
# testcase: testcases/partners/PARTNERS005_detail_partner_testcases.yml
#
#- name: PARTNERS006:禁用合伙人
# testcase: testcases/partners/PARTNERS006_set-status_partner1_testcases.yml
#
#- name: PARTNERS006:启用合伙人
# testcase: testcases/partners/PARTNERS007_set-status_partner2_testcases.yml
#
#- name: ACTUAL001:新增实际订单
# testcase: testcases/actual/ACTUAL001_add_actual_testcases.yml
# parameters:
# account: ${create_phone_number(1)}
#
#- name: ACTUAL003:合伙人搜索——实际订单列表
# testcase: testcases/actual/ACTUAL003_actual_list_testcases.yml
#
#- name: ACTUAL004:搜索发货单号——实际订单列表
# testcase: testcases/actual/ACTUAL004_actual_list_testcases.yml
#
#- name: ACTUAL005:查看实际订单详情
# testcase: testcases/actual/ACTUAL005_actual_detail_testcases.yml
#
#- name: ACTUAL006:删除实际订单
# testcase: testcases/actual/ACTUAL006_actual_del_testcases.yml
#
#- name: PURPOSE001:新增意向订单
# testcase: testcases/purpose/PURPOSE001_add_purpose_testcases.yml
# parameters:
# account: ${create_phone_number(1)}
#
#- name: PURPOSE002:编辑意向订单
# testcase: testcases/purpose/PURPOSE002_edit_purpose_testcases.yml
#
#- name: PURPOSE003:合伙人搜索——意向订单列表
# testcase: testcases/purpose/PURPOSE003_purpose_list_testcases.yml
#
#- name: PURPOSE004:搜索订单号——意向订单列表
# testcase: testcases/purpose/PURPOSE003_purpose_list_testcases.yml
#
#- name: PURPOSE005:意向订单发货
# testcase: testcases/purpose/PURPOSE005_purpose_sendout_testcases.yml
#
#- name: PURPOSE006:查看意向订单详情
# testcase: testcases/purpose/PURPOSE006_purpose_detail_testcases.yml
#
#- name: ACTUAL007:删除意向订单
# testcase: testcases/purpose/PURPOSE007_purpose_del_testcases.yml
#
#- name: dividends:分红管理-编辑
# testcase: testcases/dividends/dividend_edit_testcases.yml
#
#- name: statistics:订单统计
# testcase: testcases/order/order_statistics_testcases.yml
#
#- name: statistics:订单详情
# testcase: testcases/order/order_details_testcases.yml
#
#- name: statistics:分红统计
# testcase: testcases/dividend/dividend_statistics_testcases.yml
#
#- name: orders001:已收明细——分红订单
# testcase: testcases/dividend/dividend_orders001_testcases.yml
#
#- name: orders002:未收明细——分红订单
# testcase: testcases/dividend/dividend_orders002_testcases.yml
#
#- name: list:实发订单列表
# testcase: testcases/order/order_list_testcases.yml
\ No newline at end of file
- name: DIV002-事业分红列表-数据源不来自于意向订单
testcase: testcases/dividends/DIV002_dividendslist_testcases.yml
- name: DIV003-事业分红详情-初始状态-各个值计算正确
testcase: testcases/dividends/DIV003_dividends_cal_testcases.yml
- name: DIV004-事业分红-调整数量-各个值计算正确
testcase: testcases/dividends/DIV004_dividends_editnum_testcases.yml
- name: DIV005-事业分红-调整数量-更改支付状态-各个值计算正确
testcase: testcases/dividends/DIV005_dividends_edit_num_pay_testcases.yml
- name: DIV006-事业分红-已支付订单数量减少
testcase: testcases/dividends/DIV006_dividends_edit_num_testcases.yml
############################分红管理模块结束##################################
- name: ACT001-实际订单-各个值计算正确
testcase: testcases/order/actual/ACT001_actual_detail_testcases.yml
- name: PUR001-意向订单-各个值计算正确
testcase: testcases/order/purpose/PUR001_pur_detail_testcases.yml
... ...