fix(ci): adapt playwright config for docker

This commit is contained in:
Elian Doran
2025-05-15 17:24:24 +03:00
parent 9a825a76b5
commit 1d2c3fc7a7
2 changed files with 3 additions and 3 deletions

View File

@@ -22,12 +22,12 @@ export default defineConfig({
trace: 'on-first-retry',
},
/* Run your local dev server before starting the tests */
webServer: {
webServer: !process.env.TRILIUM_DOCKER ? {
command: 'pnpm server:start-prod',
url: baseURL,
reuseExistingServer: !process.env.CI,
cwd: workspaceRoot
},
} : undefined,
projects: [
{
name: "chromium",