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
11f87d4a
Commit
11f87d4a
authored
Aug 15, 2024
by
xiao-hesheng
Browse files
流程十五脚本提交
parent
cbf6d7cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/b6_spd3_core_business_flow_database_check/a_b9流程十六退库业务_二级库向一级库退库_数据库验证.air/a_b9流程十六退库业务_二级库向一级库退库_数据库验证.py
View file @
11f87d4a
...
...
@@ -177,9 +177,7 @@ def check_mcms_psi_dept_batch(DR_ID, type, order_no):
source_batch_id
,
target_batch_id
,
barcode_id
,
shelf_code
,
create_user
,
create_time
,
last_modified
,
last_modified_user
)
last_modified_user
)
elif
type
==
20
:
expected
=
commonFuc
().
get_business_data
(
'b6_spd3_core_business_flow_database_check'
,
'mcms_psi_dept_batch2'
,
batch_main_key
,
pid
,
order_no
,
source_detail_id
...
...
@@ -187,9 +185,7 @@ def check_mcms_psi_dept_batch(DR_ID, type, order_no):
source_batch_id
,
target_batch_id
,
barcode_id
,
shelf_code
,
create_user
,
create_time
,
last_modified
,
last_modified_user
)
last_modified_user
)
else
:
expected
=
commonFuc
().
get_business_data
(
'b6_spd3_core_business_flow_database_check'
,
'mcms_psi_dept_batch3_1'
,
batch_main_key
,
pid
,
order_no
,
...
...
@@ -198,9 +194,7 @@ def check_mcms_psi_dept_batch(DR_ID, type, order_no):
source_batch_id
,
target_batch_id
,
barcode_id
,
shelf_code
,
create_user
,
create_time
,
last_modified
,
last_modified_user
)
last_modified_user
)
print
(
'expected'
,
expected
)
print
(
'aaaaaaaaaaaaaaaaa'
)
...
...
@@ -459,7 +453,7 @@ try:
approval_center
()
#审批
putaway
()
#中心库上架
time
.
sleep
(
6
)
check_mcms_psi_in
(
2
)
# 检查中心
单
入库单数据库数据
check_mcms_psi_in
(
2
)
# 检查中心
库
入库单数据库数据
updateUserLoginDefaultRange
(
get_listUserMgrRangePage1
(
2
))
# 设置登录账号默认权限是二级库
second_dept_return_Out_Stock
(
1
)
# 低值耗材退货出库
time
.
sleep
(
6
)
...
...
@@ -467,14 +461,14 @@ try:
approval_center
()
# 审批
putaway
()
# 中心库上架
time
.
sleep
(
6
)
check_mcms_psi_in
(
1
)
# 检查中心
单
入库单数据库数据
check_mcms_psi_in
(
1
)
# 检查中心
库
入库单数据库数据
updateUserLoginDefaultRange
(
get_listUserMgrRangePage1
(
2
))
# 设置登录账号默认权限是二级库
second_dept_return_Out_Stock
(
3
)
# 试剂耗材退货出库
check_mcms_psi_dept_out
(
66
)
# 检查出库单数据库数据
approval_center
()
# 审批
putaway
()
# 中心库上架
time
.
sleep
(
6
)
check_mcms_psi_in
(
3
)
# 检查中心
单
入库单数据库数据
check_mcms_psi_in
(
3
)
# 检查中心
库
入库单数据库数据
# ===============上面调通了================================
commonFuc
().
check_text_exist_result_text
(
'succees'
,
'succees'
)
except
Exception
as
e
:
...
...
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