- 在 .env 文件中添加 ACCOUNT 和 PASSWORD 环境变量 - 更新 baseFixture 中的 page.goto 方法,使用 baseURL 配置 - 移除 exportFixture 中未使用的 baseTest - 在 LoginPage 中添加 tenant 参数以支持多租户登录 - 更新 login.spec 中的测试用例,使用环境变量配置 - 调整 setup.ts 中的登录流程,使用新的登录方法
4 lines
143 B
Bash
4 lines
143 B
Bash
BASE_URL=https://px.meiguanjia.net//web/#/frame/dashboard
|
|
# BASE_URL=https://px.meiguanjia.net/prestg/web/
|
|
ACCOUNT=17770898274
|
|
PASSWORD=a123456 |