修改上传时间为年月日时分秒
This commit is contained in:
@@ -1666,7 +1666,7 @@ class UploadConfigPage:
|
||||
minor_conditions_list = [] # 次要工况列表 [{point_id, work_type, workinfoname}]
|
||||
|
||||
# 定义阈值:出现次数少于这个值的认为是次要工况
|
||||
minor_threshold = 3 # 可以根据实际情况调整
|
||||
minor_threshold = 2 # 可以根据实际情况调整
|
||||
|
||||
for work_type, workinfoname_counts in work_type_stats.items():
|
||||
if workinfoname_counts:
|
||||
@@ -1862,13 +1862,14 @@ class UploadConfigPage:
|
||||
return False
|
||||
|
||||
|
||||
# # 表达填写完成,点击"保存上传"并处理弹窗
|
||||
# if not self.click_save_upload_and_handle_dialogs():
|
||||
# self.logger.error("点击保存上传并处理弹窗失败")
|
||||
# return False
|
||||
# 表达填写完成,点击"保存上传"并处理弹窗
|
||||
if not self.click_save_upload_and_handle_dialogs():
|
||||
self.logger.error("点击保存上传并处理弹窗失败")
|
||||
return False
|
||||
|
||||
# 暂不上传,使用返回按钮替代。
|
||||
self.driver.back()
|
||||
# # 暂不上传,使用返回按钮替代。
|
||||
# self.driver.back()
|
||||
# return True
|
||||
|
||||
|
||||
# 等待上传,查看loading弹窗。没有就下一个
|
||||
|
||||
Reference in New Issue
Block a user