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
06d76871
Commit
06d76871
authored
Oct 18, 2024
by
xiao-hesheng
Browse files
流程五脚本提交
parent
058ac6a7
Changes
2
Hide whitespace changes
Inline
Side-by-side
air_case/b6_spd3_core_business_flow_database_check/a_a3_流程三_产品导入和审批_数据库验证.air/a_a3_流程三_产品导入和审批_数据库验证.py
View file @
06d76871
...
...
@@ -157,24 +157,24 @@ try:
# ==============分割线 暂时注释===============
add_goods
()
# 直销高值
select1
(
'message1'
)
time
.
sleep
(
6
)
time
.
sleep
(
6
0
)
check_mcms_goods_info
(
1
)
#审核前的产品信息
apply
()
#审批产品
time
.
sleep
(
6
)
time
.
sleep
(
6
0
)
check_mcms_goods_info_after_approval
(
1
)
#审核后的产品信息
add_goods1
()
# 直销低值
select1
(
'message2'
)
time
.
sleep
(
6
)
time
.
sleep
(
6
0
)
check_mcms_goods_info
(
2
)
# 审核前的产品信息
apply
()
time
.
sleep
(
6
)
time
.
sleep
(
6
0
)
check_mcms_goods_info_after_approval
(
2
)
#审核后的产品信息
add_goods2
()
# 直销试剂
select1
(
'message3'
)
time
.
sleep
(
6
)
time
.
sleep
(
6
0
)
check_mcms_goods_info
(
3
)
# 审核前的产品信息
apply
()
time
.
sleep
(
6
)
time
.
sleep
(
6
0
)
check_mcms_goods_info_after_approval
(
3
)
# 审核后的产品信息
add_goods3
()
# 集配
select1
(
'message4'
)
...
...
common/common_func.py
View file @
06d76871
...
...
@@ -68,12 +68,13 @@ class commonFuc(object):
if
env
==
'on'
:
url
=
'https://m.meitun.com'
elif
env
==
'pre'
:
url
=
'http://
pre-m.meitun.com
'
url
=
'http://
220.181.78.12:801
'
elif
env
==
'sita'
:
url
=
'http://sita-m.meitun.com'
elif
env
==
"mdm3"
:
# mdm3.0
# url = 'http://sit-m.meitun.com'
url
=
'http://spdtest.cmic.com.cn'
# url = 'http://220.181.78.12:801'
elif
env
==
"spd2"
:
# spd2.0
url
=
""
elif
env
==
"od"
:
# 骨科
...
...
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