Spaces:
Runtime error
Runtime error
Nyk commited on
Commit ·
bee92b2
1
Parent(s): 1b37eab
fix(e2e): increase playwright webServer startup timeout
Browse files- playwright.config.ts +7 -1
playwright.config.ts
CHANGED
|
@@ -21,6 +21,12 @@ export default defineConfig({
|
|
| 21 |
command: 'pnpm start',
|
| 22 |
url: 'http://127.0.0.1:3005',
|
| 23 |
reuseExistingServer: true,
|
| 24 |
-
timeout:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
}
|
| 26 |
})
|
|
|
|
| 21 |
command: 'pnpm start',
|
| 22 |
url: 'http://127.0.0.1:3005',
|
| 23 |
reuseExistingServer: true,
|
| 24 |
+
timeout: 120_000,
|
| 25 |
+
env: {
|
| 26 |
+
...process.env,
|
| 27 |
+
API_KEY: process.env.API_KEY || 'test-api-key-e2e-12345',
|
| 28 |
+
AUTH_USER: process.env.AUTH_USER || 'testadmin',
|
| 29 |
+
AUTH_PASS: process.env.AUTH_PASS || 'testpass1234!',
|
| 30 |
+
},
|
| 31 |
}
|
| 32 |
})
|