Generated by Spark: Run npm run test:e2e --if-present || echo "No E2E tests configured"

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

[WebServer]
[WebServer] > spark-template@0.0.0 dev
[WebServer] > vite
[WebServer]
[WebServer]
[WebServer]   VITE v7.3.1  ready in 272 ms
[WebServer]
[WebServer]   ➜  Local:   http://localhost:5000/
[WebServer]   ➜  Network: http://10.1.0.146:5000/

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

No E2E tests configured
This commit is contained in:
2026-01-17 14:10:31 +00:00
committed by GitHub
parent b165e2c333
commit 3df37b038d
4 changed files with 113 additions and 44 deletions

View File

@@ -7,16 +7,16 @@ export default defineConfig({
retries: process.env.CI ? 2 : 0,
workers: process.env.CI ? 1 : undefined,
reporter: 'html',
timeout: 60000,
timeout: 45000,
expect: {
timeout: 15000,
timeout: 10000,
},
use: {
baseURL: 'http://localhost:5173',
baseURL: 'http://localhost:5000',
trace: 'on-first-retry',
screenshot: 'only-on-failure',
actionTimeout: 15000,
navigationTimeout: 30000,
actionTimeout: 10000,
navigationTimeout: 20000,
},
projects: [
@@ -28,9 +28,9 @@ export default defineConfig({
webServer: {
command: 'npm run dev',
url: 'http://localhost:5173',
url: 'http://localhost:5000',
reuseExistingServer: !process.env.CI,
timeout: 180000,
timeout: 120000,
stdout: 'pipe',
stderr: 'pipe',
},