fix: improve playwright config for Docker environment stability

This commit is contained in:
chiguyong 2026-06-02 23:54:12 +08:00
parent bfc67fce09
commit fb4778541c
1 changed files with 2 additions and 1 deletions

View File

@ -32,8 +32,9 @@ export default defineConfig({
webServer: { webServer: {
command: "npm run dev", command: "npm run dev",
url: "http://localhost:3000", url: "http://localhost:3000/api/auth/session",
reuseExistingServer: true, reuseExistingServer: true,
timeout: 120 * 1000, timeout: 120 * 1000,
maxRetries: 3,
}, },
}); });