Commit be651589 by 宋鹏博

添加等待时间

parent bb889445
import time
import allure
from selenium.common import ElementNotInteractableException
from common.DButils import DButils
from common.untils import DriverTools
......@@ -30,11 +31,14 @@ class TestPrequalification:
# AI预审流程
@allure.feature("AI预审流程")
def test_uodate_file(self):
time.sleep(10)
self.AI.to_AI_Prequalification()
time.sleep(5)
self.aiprequailification.update_pdf(updata_pdf_path)
time.sleep(5)
try:
time.sleep(10)
self.AI.to_AI_Prequalification()
time.sleep(5)
self.aiprequailification.update_pdf(updata_pdf_path)
time.sleep(5)
except ElementNotInteractableException as e:
print(f"异常:{e}")
data = self.dbtuils.select_sql(
f"SELECT file_name,status FROM aireview.assistant_task where create_user ={userid} and assistant_code "
"='preliminarytrial' order by biz_id desc limit 1;")
......
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