fix playwright test config

This commit is contained in:
Joel Wetzell
2026-05-18 18:23:47 -05:00
parent 0fc02a46d1
commit 26631d3bc2
+6 -1
View File
@@ -24,9 +24,13 @@ export default defineConfig({
webServer: [ webServer: [
{ {
name: 'showbridge', name: 'showbridge',
command: 'showbridge --config config.yaml', command: 'showbridge --config config.test.yaml',
url: 'http://localhost:8080/health', url: 'http://localhost:8080/health',
timeout: 10000, timeout: 10000,
gracefulShutdown: {
signal: 'SIGTERM',
timeout: 5000,
},
}, },
], ],
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
@@ -36,6 +40,7 @@ export default defineConfig({
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */ /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
trace: 'on-first-retry', trace: 'on-first-retry',
video: 'retain-on-failure',
}, },
/* Configure projects for major browsers */ /* Configure projects for major browsers */
projects: [ projects: [