Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(ci): adapt playwright config for docker
Elian Doran1d2c3fc7a78a
diff --git a/.github/workflows/main-docker.yml b/.github/workflows/main-docker.ymlindex f5e7f6a9a7..f752fadef3 100644--- a/.github/workflows/main-docker.yml+++ b/.github/workflows/main-docker.yml@@ -82,7 +82,7 @@ jobs:require-healthy: true- name: Run Playwright tests- run: TRILIUM_DOCKER=1 npx playwright test+ run: TRILIUM_DOCKER=1 TRILIUM_PORT=8082 npx playwright test- uses: actions/upload-artifact@v4if: ${{ !cancelled() }}with:diff --git a/apps/server-e2e/playwright.config.ts b/apps/server-e2e/playwright.config.tsindex 47a21bf819..43abab3190 100644--- a/apps/server-e2e/playwright.config.ts+++ b/apps/server-e2e/playwright.config.ts@@ -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",