Commit 76845809 by 1161899172@qq.com

修改名称、备注问题

parent 19074c43
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<module type="PYTHON_MODULE" version="4"> <module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager"> <component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" /> <content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" /> <orderEntry type="jdk" jdkName="Python 3.8" jdkType="Python SDK" />
<orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="sourceFolder" forTests="false" />
</component> </component>
<component name="TestRunnerService"> <component name="TestRunnerService">
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <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> </project>
\ No newline at end of file
...@@ -15,38 +15,38 @@ class DEA(BasePage): ...@@ -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]") "/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.More = (By.XPATH, "//div[@class='button-list-item more-btn']")
# 制作英语听力配音 # 数字编辑助理-制作英语听力配音
self.Make_English_listening_dubbing = ( self.Make_English_listening_dubbing = (
By.XPATH, "//div[@class='button-type-list']//div[1]//div[2]//div[1]//div[1]//div[1]") 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.Input_field = (By.XPATH, "//div[@class='Editor-inner']")
# 发送 # 发送
self.send = (By.XPATH, "//button[@class='send-button']") self.send = (By.XPATH, "//button[@class='send-button']")
# 推送英语配音 # 数字编辑助理-推送英语配音
self.Make_dubbing = (By.XPATH, 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]") "/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 = ( self.Make_multi_character_voice_overs = (
By.XPATH, "//div[@class='button-type-list']//div[1]//div[2]//div[2]//div[1]//div[1]") By.XPATH, "//div[@class='button-type-list']//div[1]//div[2]//div[2]//div[1]//div[1]")
# 推送多角色配音 # 数字编辑助理-推送多角色配音
self.multi_role = (By.XPATH, 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]") "/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, 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]") "//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.Book_title = (By.XPATH, "//input[@placeholder='请输入书刊名称']")
# 点击查询 # 数字编辑助理-书刊点击查询
self.Click_query = (By.XPATH, "//div[@class='CreatBookModal-header']//span") 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.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.Reader_circle = (By.XPATH, "//label[3]//span[1]//input[1]")
# 一键制作 # 数字编辑助理-一键制作
self.click_fabrication = (By.XPATH, "//button[@class='ant-btn ant-btn-primary']//span") self.click_fabrication = (By.XPATH, "//button[@class='ant-btn ant-btn-primary']//span")
# # AI编辑室返回AI编辑工作室首页
self.Home_page = (By.XPATH, "//span[@class='clickable']") self.Home_page = (By.XPATH, "//span[@class='clickable']")
# # AI编辑工作室返回RAYS现代纸书首页
self.Home_page01 = (By.XPATH, "//div[@class='system-title']") self.Home_page01 = (By.XPATH, "//div[@class='system-title']")
def Digital_editing(self): def Digital_editing(self):
......
...@@ -7,7 +7,7 @@ from common.untils import DriverTools ...@@ -7,7 +7,7 @@ from common.untils import DriverTools
from config import user_name, password from config import user_name, password
from paga.AIEditingRoomPage import AIER from paga.AIEditingRoomPage import AIER
from paga.DigitalEmployeesPage import DEA from paga.DigitalEmployeesPage import DEA
from paga.RAYSmodernpaperbook import RAYSMPB from paga.RaysModernPaperBookPage import RAYSMPB
from paga.DelPage import Del from paga.DelPage import Del
from paga.LoginPage import Login from paga.LoginPage import Login
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment