Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit 1d2c3fc

Browse files
committed
fix(ci): adapt playwright config for docker
1 parent 9a825a7 commit 1d2c3fc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/main-docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
require-healthy: true
8383

8484
- name: Run Playwright tests
85-
run: TRILIUM_DOCKER=1 npx playwright test
85+
run: TRILIUM_DOCKER=1 TRILIUM_PORT=8082 npx playwright test
8686
- uses: actions/upload-artifact@v4
8787
if: ${{ !cancelled() }}
8888
with:

apps/server-e2e/playwright.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ export default defineConfig({
2222
trace: 'on-first-retry',
2323
},
2424
/* Run your local dev server before starting the tests */
25-
webServer: {
25+
webServer: !process.env.TRILIUM_DOCKER ? {
2626
command: 'pnpm server:start-prod',
2727
url: baseURL,
2828
reuseExistingServer: !process.env.CI,
2929
cwd: workspaceRoot
30-
},
30+
} : undefined,
3131
projects: [
3232
{
3333
name: "chromium",

0 commit comments

Comments
 (0)