fix:通过E2E测试

This commit is contained in:
2026-03-10 00:52:59 +08:00
parent cef68a95d9
commit d206c79c24
8 changed files with 43 additions and 33 deletions

View File

@@ -11,7 +11,7 @@ export default defineConfig({
["json", { outputFile: "test-results.json" }],
],
use: {
baseURL: "http://127.0.0.1:3344",
baseURL: "http://127.0.0.1:5173",
trace: "on-first-retry",
screenshot: "only-on-failure",
video: "retain-on-failure",
@@ -24,7 +24,7 @@ export default defineConfig({
],
webServer: {
command: "npm run dev",
url: "http://127.0.0.1:3344",
url: "http://127.0.0.1:5173",
reuseExistingServer: !process.env.CI,
timeout: 120 * 1000,
stdout: "pipe",