import sys
import os
from time import sleep
# 获取当前脚本的绝对路径
current_dir = os.path.dirname(os.path.abspath(__file__))
# 构建预定系统的绝对路径
预定系统_path = os.path.abspath(os.path.join(current_dir, '..','..'))
# 添加路径
sys.path.append(预定系统_path)
# 导入模块
from 预定系统.Base.base import *

def suite_setup():
    STEP(1, "初始化浏览器")
    # login_url = 'https://192.168.5.218/#/login/logindf'
    # login_ngrok_url = "https://nat.ubainsyun.com:11046"
    login_url = 'http://192.168.5.200:8080/#/login/logindf'
    browser_init(login_url)

    wd = GSTORE['wd']
    admin_login("admin@ZDH", "Ubains@4321")

def suite_teardown():
    browser_quit()