mirror of
https://github.com/jwetzell/showbridge-webui.git
synced 2026-08-24 23:48:59 +00:00
fix playwright test config
This commit is contained in:
@@ -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: [
|
||||||
|
|||||||
Reference in New Issue
Block a user