Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
test
autotest-airtest-web-cmdc
Commits
b243b149
Commit
b243b149
authored
Feb 21, 2024
by
liguangyu06
Browse files
优化
parent
7b241b04
Changes
2
Hide whitespace changes
Inline
Side-by-side
air_case/cmdc_fresenius_group/批量新增套包.air/批量新增套包.py
View file @
b243b149
...
...
@@ -31,7 +31,7 @@ file_path = BASE_DIR + "/data/cmdc_files/套包商品批量维护模板.xlsx"
# 获取商品列表
url
=
commonFuc
().
get_api_url
()
+
commonFuc
().
get_business_data
(
module
,
"url19"
)
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload19"
)
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload19
_1
"
)
result
=
requests
.
post
(
url
,
headers
=
headers
,
json
=
request_body
)
result
=
json
.
loads
(
result
.
content
)
...
...
data/cmdc_fresenius_group/data
View file @
b243b149
...
...
@@ -156,7 +156,7 @@ checkDict18: {"success":true,"code":"200","message":"OK","data":{"success":true}
# 获取商品信息-
"url19": "/product/public/productGroupList"
"payload19": {"productCode":"","productName":"","materialCode":"","specifications":"","productLineName":"","userNo":"","companyCode":"","pageSize":10,"pageNum":1}
"payload19_1": {"productCode":"","productName":"","materialCode":"","specifications":"","productLineName":"史塞克关节","userNo":"","companyCode":"00111","pageSize":10,"pageNum":1}
#测试场景二十:套包批量新增-套包名称已存在、结构与已有相同、商品数少于2、组成一个套包内商品需满足套包在同一产品线下、商品重复添加
#预期结果
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment