mirror of
https://github.com/johndoe6345789/low-code-react-app-b.git
synced 2026-04-24 13:44:54 +00:00
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:
@@ -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',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user