Co-authored-by: Madison Grubb <madison@elastiflow.com> Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
@@ -35,6 +35,7 @@ export default defineConfig({
|
||||
name: 'desktop-chrome',
|
||||
use: {
|
||||
...devices['Desktop Chrome'],
|
||||
permissions: ['camera', 'microphone', 'geolocation'],
|
||||
launchOptions: {
|
||||
args: [
|
||||
'--use-fake-ui-for-media-stream',
|
||||
@@ -52,10 +53,10 @@ export default defineConfig({
|
||||
],
|
||||
webServer: {
|
||||
command: 'npm run dev',
|
||||
url: 'https://localhost:3000/health',
|
||||
reuseExistingServer: true, // Always reuse existing server for E2E tests
|
||||
timeout: 120 * 1000, // 2 minutes for server startup
|
||||
url: 'https://localhost:3000/health/ready',
|
||||
reuseExistingServer: !process.env.CI, // Don't reuse in CI (always start fresh)
|
||||
timeout: 180_000, // 3 minutes (180 seconds) for server startup (CI can be slower)
|
||||
ignoreHTTPSErrors: true,
|
||||
},
|
||||
timeout: 60 * 1000, // 60 seconds per test (WebRTC setup takes time)
|
||||
timeout: process.env.CI ? 180_000 : 60_000, // 3 minutes in CI, 1 minute locally (WebRTC setup takes time)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user