mirror of
https://gitee.com/spark-store-project/spark-store
synced 2026-04-26 01:10:16 +08:00
fix:通过E2E测试
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user