Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wsmonitor
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
宋鹏博
wsmonitor
Commits
1ee29abf
Commit
1ee29abf
authored
Jul 31, 2025
by
谢非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update test_AISelectedtopic.py
parent
5c129d96
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
test_AISelectedtopic.py
script/test_AISelectedtopic.py
+7
-2
No files found.
script/test_AISelectedtopic.py
View file @
1ee29abf
...
...
@@ -21,8 +21,7 @@ class TestaiSelectedtopic:
def
setup_method
(
self
):
self
.
driver
=
DriverTools
.
get_driver
()
.
get
(
login_url
)
self
.
login
.
login
(
user_name
,
password
)
self
.
AIroom
.
to_AI_Selectedtopic
()
# 类后置
def
teardown_class
(
self
):
...
...
@@ -31,6 +30,8 @@ class TestaiSelectedtopic:
# AI选题情报员-选题资讯-解读当前资讯
@allure.feature
(
"选题资讯-解读当前资讯流程"
)
def
test_ai_information
(
self
):
self
.
login
.
login_first
(
user_name
,
password
)
self
.
AIroom
.
to_AI_Selectedtopic
()
self
.
aiselectedtopic
.
ai_information
()
time
.
sleep
(
60
)
ws_error
(
1
)
...
...
@@ -39,6 +40,8 @@ class TestaiSelectedtopic:
# AI选题情报员-选题资讯-了解选题新鲜事
@allure.feature
(
"匹配热点话题"
)
def
test_ai_freshnews
(
self
):
self
.
login
.
login
(
user_name
,
password
)
self
.
AIroom
.
to_AI_Selectedtopic
()
self
.
aiselectedtopic
.
ai_freshnews
()
time
.
sleep
(
40
)
ws_error
(
1
)
...
...
@@ -46,6 +49,8 @@ class TestaiSelectedtopic:
@allure.feature
(
"选题资讯-图书榜单按钮解读流程"
)
def
test_ai_bookrankings
(
self
):
self
.
login
.
login
(
user_name
,
password
)
self
.
AIroom
.
to_AI_Selectedtopic
()
self
.
aiselectedtopic
.
ai_bookrankings
()
time
.
sleep
(
60
)
ws_error
(
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