Commit d7098f3a by 宋鹏博

添加等待时间

parent 9844360a
import time
import allure
from selenium.common import WebDriverException
from common.DButils import DButils
from common.untils import DriverTools
......@@ -37,7 +37,7 @@ class TestPrequalification:
time.sleep(5)
self.aiprequailification.update_pdf(updata_pdf_path)
time.sleep(5)
except WebDriverException as e:
except Exception 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 "
......
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