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-spd
Commits
1da1d559
Commit
1da1d559
authored
Mar 13, 2024
by
xiao-hesheng
Browse files
新增采购计划模块脚本
parent
b9dd3ff3
Changes
2
Hide whitespace changes
Inline
Side-by-side
air_case/b2_herp3_bs/d0_产品管理_产品维护_新增耗材分类_分类已存在.air/d0_产品管理_产品维护_新增耗材分类_分类已存在.py
View file @
1da1d559
...
...
@@ -43,8 +43,17 @@ def goodsKind_insert():
# # # 发送请求
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
print
(
'result'
,
result
)
# # #断言
# checkDict=commonFuc().get_business_data(module,'checkDict8')
# commonFuc().check_result(checkDict,result)
# #断言
checkDict
=
commonFuc
().
get_business_data
(
module
,
'checkDict8'
)
commonFuc
().
check_result
(
checkDict
,
result
)
code
=
commonFuc
().
analysis_json
(
'code'
,
result
)
data
=
commonFuc
().
analysis_json
(
'data'
,
result
)
if
code
==
14030004
and
data
==
None
:
# checkDict=commonFuc().get_business_data(module,'checkDict7')
# commonFuc().check_result(checkDict,result)
commonFuc
().
check_text_exist
(
0
,
result
)
else
:
commonFuc
().
check_text_exist
(
'error'
,
result
)
goodsKind_insert
()
report/summary.html
View file @
1da1d559
...
...
@@ -72,9 +72,9 @@
</tr>
<tr width="600">
<td class="details-col-elapsed"><a href='../log/
c1_新增科室_科室
已存在/log.html' target='_blank'>
c1_新增科室_科室
已存在</a></td>
<td class="details-col-elapsed"><a href='../log/
d0_产品管理_产品维护_新增耗材分类_分类
已存在/log.html' target='_blank'>
d0_产品管理_产品维护_新增耗材分类_分类
已存在</a></td>
<td class="success">成功</td>
<td class="details-col-elapsed">1.9
05
</td>
<td class="details-col-elapsed">1.9
49
</td>
<td class="details-col-elapsed">xiaohesheng</td>
</tr>
...
...
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