Generated by Spark: 2m 2s

Run npm run test:e2e

> spark-template@0.0.0 test:e2e
> playwright test

Error: Timed out waiting 120000ms from config.webServer.

Error: Process completed with exit code 1. - also probably worth putting a time limit on each e2e test
This commit is contained in:
2026-01-17 13:25:54 +00:00
committed by GitHub
parent e1e2ffef19
commit 548d565272
5 changed files with 287 additions and 686 deletions

View File

@@ -7,10 +7,16 @@ export default defineConfig({
retries: process.env.CI ? 2 : 0,
workers: process.env.CI ? 1 : undefined,
reporter: 'html',
timeout: 60000,
expect: {
timeout: 15000,
},
use: {
baseURL: 'http://localhost:5173',
trace: 'on-first-retry',
screenshot: 'only-on-failure',
actionTimeout: 15000,
navigationTimeout: 30000,
},
projects: [
@@ -18,20 +24,14 @@ export default defineConfig({
name: 'chromium',
use: { ...devices['Desktop Chrome'] },
},
{
name: 'firefox',
use: { ...devices['Desktop Firefox'] },
},
{
name: 'webkit',
use: { ...devices['Desktop Safari'] },
},
],
webServer: {
command: 'npm run dev',
url: 'http://localhost:5173',
reuseExistingServer: !process.env.CI,
timeout: 120000,
timeout: 180000,
stdout: 'pipe',
stderr: 'pipe',
},
})