From 8cb7132fe0b66a4d2da646d0f57b39ee33fe4ffb Mon Sep 17 00:00:00 2001 From: Henry Winkel Date: Sat, 16 May 2026 20:21:43 +0200 Subject: [PATCH] Task 6: finalize tests and CI notes for settings feature --- docs/ci-notes.md | 1 + playwright.config.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/docs/ci-notes.md b/docs/ci-notes.md index 0a0a45c..bd804ac 100644 --- a/docs/ci-notes.md +++ b/docs/ci-notes.md @@ -1,4 +1,5 @@ # CI Notes - Run `npx prisma migrate deploy` in CI. +- Ensure database environment variables (e.g., DATABASE_URL) are set before running migrations. - Ensure ADMIN_TOKEN is set in environment for admin APIs. diff --git a/playwright.config.ts b/playwright.config.ts index dc5b70a..dd51520 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -1,4 +1,6 @@ import type { PlaywrightTestConfig } from "@playwright/test"; +// NOTE: In CI, do not specify Playwright 'projects' by name — use the default project. +// Also ensure webServer.timeout is large enough in CI to allow the app to start (increase if needed). const config: PlaywrightTestConfig = { testDir: "./tests",