提交 d2511d49 authored 作者: 陈泽健's avatar 陈泽健

根据测试报告处理统一平台没有截图的问题。调整议题上传函数等待时间。

上级 235c2d25
...@@ -299,7 +299,7 @@ def issue_send_and_upload(wd, issue_num, issue_name): ...@@ -299,7 +299,7 @@ def issue_send_and_upload(wd, issue_num, issue_name):
# INFO("定位【选择文件】按钮") # INFO("定位【选择文件】按钮")
upload_button = wd.find_element(By.XPATH, '//*[@id="global-uploader-btn"]/input') upload_button = wd.find_element(By.XPATH, '//*[@id="global-uploader-btn"]/input')
sleep(2)
# INFO(f"元素定位:{upload_button}") # INFO(f"元素定位:{upload_button}")
# INFO("选择议题文件上传") # INFO("选择议题文件上传")
upload_button.send_keys(issue_file_path[i]) upload_button.send_keys(issue_file_path[i])
......
...@@ -182,4 +182,6 @@ ...@@ -182,4 +182,6 @@
43. 2025-01-17 43. 2025-01-17
- 调整优化。 - 调整优化。
44. 2025-01-20 44. 2025-01-20
- 根据测试报告打印的异常信息,调整会议主流程相关代码的定位方式。 - 根据测试报告打印的异常信息,调整会议主流程相关代码的定位方式。
\ No newline at end of file 45. 2025-01-22
- 根据测试报告处理统一平台没有截图的问题。调整议题上传函数等待时间。
\ No newline at end of file
...@@ -10,7 +10,7 @@ class Exhibition_hall_Txinspection_000x: ...@@ -10,7 +10,7 @@ class Exhibition_hall_Txinspection_000x:
""" """
执行指令: 执行指令:
1.cd 预定系统 1.cd 预定系统
2.hytest --report_title 会议预约测试报告 --report_url_prefix http://192.168.1.225 --tag 腾讯会议 2.hytest --report_title 会议预约测试报告 --report_url_prefix http://nat.ubainsyun.com:31133 --tag 腾讯会议
""" """
tags = ['展厅巡检','腾讯会议'] tags = ['展厅巡检','腾讯会议']
......
...@@ -71,7 +71,7 @@ def start_workers(num_workers): ...@@ -71,7 +71,7 @@ def start_workers(num_workers):
start_workers(3) start_workers(3)
# 定时执行预定系统测试任务 # 定时执行预定系统测试任务
# schedule.every().day.at("08:00").do(run_task, run_automation_test, report_title="预定系统测试报告", report_url_prefix="http://nat.ubainsyun.com:31134", test_case="预定系统功能", ding_type="标准版巡检") # schedule.every().day.at("09:00").do(run_task, run_automation_test, report_title="预定系统测试报告", report_url_prefix="http://nat.ubainsyun.com:31134", test_case="预定系统功能", ding_type="标准版巡检")
# 定时执行展厅巡检任务 # 定时执行展厅巡检任务
schedule.every().day.at("07:50").do(run_task, run_automation_test, report_title="展厅巡检测试报告", report_url_prefix="http://nat.ubainsyun.com:31133", test_case="展厅巡检", ding_type="展厅巡检") schedule.every().day.at("07:50").do(run_task, run_automation_test, report_title="展厅巡检测试报告", report_url_prefix="http://nat.ubainsyun.com:31133", test_case="展厅巡检", ding_type="展厅巡检")
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论