Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
selenium
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
谢非
selenium
Commits
76845809
Commit
76845809
authored
Feb 19, 2024
by
1161899172@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改名称、备注问题
parent
19074c43
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
15 deletions
+16
-15
QiSelenium.iml
.idea/QiSelenium.iml
+1
-1
misc.xml
.idea/misc.xml
+2
-1
DigitalEmployeesPage.py
paga/DigitalEmployeesPage.py
+12
-12
RaysModernPaperBookPage.py
paga/RaysModernPaperBookPage.py
+0
-0
test_digital_editorial_assistant.py
script/test_digital_editorial_assistant.py
+1
-1
No files found.
.idea/QiSelenium.iml
View file @
76845809
...
...
@@ -2,7 +2,7 @@
<module
type=
"PYTHON_MODULE"
version=
"4"
>
<component
name=
"NewModuleRootManager"
>
<content
url=
"file://$MODULE_DIR$"
/>
<orderEntry
type=
"
inheritedJdk
"
/>
<orderEntry
type=
"
jdk"
jdkName=
"Python 3.8"
jdkType=
"Python SDK
"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
</component>
<component
name=
"TestRunnerService"
>
...
...
.idea/misc.xml
View file @
76845809
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"ProjectRootManager"
version=
"2"
project-jdk-name=
"Python 3.
9
"
project-jdk-type=
"Python SDK"
/>
<component
name=
"ProjectRootManager"
version=
"2"
project-jdk-name=
"Python 3.
8
"
project-jdk-type=
"Python SDK"
/>
</project>
\ No newline at end of file
paga/DigitalEmployeesPage.py
View file @
76845809
...
...
@@ -15,38 +15,38 @@ class DEA(BasePage):
"/html[1]/body[1]/div[1]/div[1]/section[1]/div[1]/div[2]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[6]/div[1]/div[1]/div[1]"
)
# 更多
self
.
More
=
(
By
.
XPATH
,
"//div[@class='button-list-item more-btn']"
)
# 制作英语听力配音
#
数字编辑助理-
制作英语听力配音
self
.
Make_English_listening_dubbing
=
(
By
.
XPATH
,
"//div[@class='button-type-list']//div[1]//div[2]//div[1]//div[1]//div[1]"
)
# 输入框
self
.
Input_field
=
(
By
.
XPATH
,
"//div[@class='Editor-inner']"
)
# 发送
self
.
send
=
(
By
.
XPATH
,
"//button[@class='send-button']"
)
# 推送英语配音
#
数字编辑助理-
推送英语配音
self
.
Make_dubbing
=
(
By
.
XPATH
,
"/html[1]/body[1]/div[1]/div[1]/section[1]/div[1]/div[2]/div[1]/div[1]/div[1]/div[1]/div[2]/div[1]/div[1]/div[2]/div[1]/div[1]/div[1]/div[1]/div[1]/div[11]/div[1]/div[1]/div[2]/div[2]/div[1]/div[2]/div[1]/button[1]/span[1]"
)
# 制作多角色配音
#
数字编辑助理-
制作多角色配音
self
.
Make_multi_character_voice_overs
=
(
By
.
XPATH
,
"//div[@class='button-type-list']//div[1]//div[2]//div[2]//div[1]//div[1]"
)
# 推送多角色配音
#
数字编辑助理-
推送多角色配音
self
.
multi_role
=
(
By
.
XPATH
,
"/html[1]/body[1]/div[1]/div[1]/section[1]/div[1]/div[2]/div[1]/div[1]/div[1]/div[1]/div[2]/div[1]/div[1]/div[2]/div[1]/div[1]/div[1]/div[1]/div[1]/div[11]/div[1]/div[1]/div[2]/div[2]/div[1]/div[2]/div[1]/button[1]/span[1]"
)
# 现代纸书一键制作
#
数字编辑助理-
现代纸书一键制作
self
.
Modern_paper_book_one_key_production_resource_allocation
=
(
By
.
XPATH
,
"//div[contains(@class,'ant-popover button-list-more-popover ant-popover-placement-topRight')]//div[2]//div[2]//div[1]//div[1]//div[1]"
)
# 书刊名称输入框
#
数字编辑助理-
书刊名称输入框
self
.
Book_title
=
(
By
.
XPATH
,
"//input[@placeholder='请输入书刊名称']"
)
# 点击查询
#
数字编辑助理-书刊
点击查询
self
.
Click_query
=
(
By
.
XPATH
,
"//div[@class='CreatBookModal-header']//span"
)
# 勾选应用音频
#
数字编辑助理-
勾选应用音频
self
.
Audio_frequency
=
(
By
.
XPATH
,
"//div[@class='sourceType']//label[2]//span[1]//input[1]"
)
# 勾选应用读者交流圈
#
数字编辑助理-
勾选应用读者交流圈
self
.
Reader_circle
=
(
By
.
XPATH
,
"//label[3]//span[1]//input[1]"
)
# 一键制作
#
数字编辑助理-
一键制作
self
.
click_fabrication
=
(
By
.
XPATH
,
"//button[@class='ant-btn ant-btn-primary']//span"
)
#
#
AI编辑室返回AI编辑工作室首页
self
.
Home_page
=
(
By
.
XPATH
,
"//span[@class='clickable']"
)
#
#
AI编辑工作室返回RAYS现代纸书首页
self
.
Home_page01
=
(
By
.
XPATH
,
"//div[@class='system-title']"
)
def
Digital_editing
(
self
):
...
...
paga/R
AYSmodernpaperbook
.py
→
paga/R
aysModernPaperBookPage
.py
View file @
76845809
File moved
script/test_digital_editorial_assistant.py
View file @
76845809
...
...
@@ -7,7 +7,7 @@ from common.untils import DriverTools
from
config
import
user_name
,
password
from
paga.AIEditingRoomPage
import
AIER
from
paga.DigitalEmployeesPage
import
DEA
from
paga.R
AYSmodernpaperbook
import
RAYSMPB
from
paga.R
aysModernPaperBookPage
import
RAYSMPB
from
paga.DelPage
import
Del
from
paga.LoginPage
import
Login
...
...
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