Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
Songselenium
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
宋鹏博
Songselenium
Commits
edfefe75
Commit
edfefe75
authored
Feb 05, 2025
by
宋鹏博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
4b4e0cfa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
test_Aireview.py
script/test_Aireview.py
+9
-0
test_prequalification.py
script/test_prequalification.py
+3
-0
No files found.
script/test_Aireview.py
View file @
edfefe75
import
time
import
allure
from
common.DButils
import
DButils
from
common.untils
import
DriverTools
from
config
import
user_name
,
password
,
updata_word_path
,
word_text
,
\
...
...
@@ -30,6 +33,7 @@ class TestAireview:
DriverTools
.
quit_driver
()
# 图书审校流程
@allure.feature
(
"图书审校流程"
)
def
test_book_review
(
self
):
self
.
aireview
.
book_review
(
updata_word_path
)
time
.
sleep
(
3
)
...
...
@@ -40,6 +44,7 @@ class TestAireview:
assert
data
[
0
][
0
]
==
updata_word_name
# 文本审校流程
@allure.feature
(
"文本审校流程"
)
def
test_text_revierw
(
self
):
self
.
aireview
.
text_revierw
(
word_text
)
time
.
sleep
(
5
)
...
...
@@ -48,6 +53,7 @@ class TestAireview:
assert
data
[
0
][
0
]
==
"text"
# 繁体字审校流程
@allure.feature
(
"繁体字审校流程"
)
def
test_traditional_review
(
self
):
self
.
aireview
.
traditional_review
(
updata_traditional_path
)
time
.
sleep
(
5
)
...
...
@@ -56,16 +62,19 @@ class TestAireview:
assert
data
[
0
][
0
]
==
"unsimplified"
# 多媒体审校流程
@allure.feature
(
"多媒体审校流程"
)
def
test_media_review
(
self
):
self
.
aireview
.
media_review
([
updata_picture_path
,
updata_video_path
,
updata_qrcode_path
,
updata_music_path
])
time
.
sleep
(
5
)
# 查词查术语流程
@allure.feature
(
"查词查术语流程"
)
def
test_find_word
(
self
):
self
.
aireview
.
find_word
(
knowledge_text
)
time
.
sleep
(
5
)
# 知识查证流程
@allure.feature
(
"知识查证流程"
)
def
test_find_knowledge
(
self
):
self
.
aireview
.
find_knowledge
(
knowledge_text
)
time
.
sleep
(
5
)
script/test_prequalification.py
View file @
edfefe75
import
time
import
allure
from
common.DButils
import
DButils
from
common.untils
import
DriverTools
from
config
import
user_name
,
password
,
updata_pdf_path
,
login_url
,
userid
,
updata_pdf_name
...
...
@@ -26,6 +28,7 @@ class TestPrequalification:
DriverTools
.
quit_driver
()
# AI预审流程
@allure.feature
(
"AI预审流程"
)
def
test_uodate_file
(
self
):
self
.
AI
.
to_AI_Prequalification
()
time
.
sleep
(
1
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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