R28-1 R28-4: 收口网页门禁与公网 smoke
这个提交包含在:
@@ -1,6 +1,9 @@
|
||||
import { defineConfig } from "@playwright/test";
|
||||
|
||||
const baseURL = process.env.E2E_BASE_URL ?? "http://127.0.0.1:3000";
|
||||
const e2eMode = process.env.E2E_MODE === "live" ? "live" : "local";
|
||||
const baseURL = e2eMode === "live"
|
||||
? process.env.LIVE_SMOKE_BASE_URL?.trim() || "https://oa.hyinda.com"
|
||||
: process.env.E2E_BASE_URL?.trim() || "http://127.0.0.1:3000";
|
||||
|
||||
export default defineConfig({
|
||||
testDir: "./tests/e2e",
|
||||
@@ -18,4 +21,3 @@ export default defineConfig({
|
||||
},
|
||||
reporter: process.env.CI ? [["github"], ["html", { open: "never" }]] : [["list"], ["html"]],
|
||||
});
|
||||
|
||||
|
||||
在新工单中引用
屏蔽一个用户