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
f88ae358
Commit
f88ae358
authored
Mar 21, 2025
by
宋鹏博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加等待时间
parent
7ed4218a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
AIEditingRoomPage.py
paga/AIEditingRoomPage.py
+4
-0
test_prequalification.py
script/test_prequalification.py
+2
-2
No files found.
paga/AIEditingRoomPage.py
View file @
f88ae358
import
time
from
selenium.webdriver.common.by
import
By
from
Base.BasePage
import
BasePage
from
config
import
AI_review_empid
,
AI_Prequalification_empid
...
...
@@ -15,8 +17,10 @@ class AIER(BasePage):
# 点击AI预审
def
to_AI_Prequalification
(
self
):
time
.
sleep
(
5
)
self
.
find_ele
(
self
.
AI_Prequalification
)
.
click
()
# 点击AI审校
def
to_AI_review
(
self
):
time
.
sleep
(
5
)
self
.
find_ele
(
self
.
AI_review
)
.
click
()
script/test_prequalification.py
View file @
f88ae358
...
...
@@ -33,9 +33,9 @@ class TestPrequalification:
self
.
AI
.
to_AI_Prequalification
()
time
.
sleep
(
3
)
self
.
aiprequailification
.
update_pdf
(
updata_pdf_path
)
time
.
sleep
(
300
)
time
.
sleep
(
5
)
data
=
self
.
dbtuils
.
select_sql
(
f
"SELECT file_name,status FROM aireview.assistant_task where create_user ={userid} and assistant_code "
"='preliminarytrial' order by biz_id desc limit 1;"
)
assert
data
[
0
][
0
]
==
updata_pdf_name
assert
data
[
0
][
1
]
==
99
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