Task 6: finalize tests and CI notes for settings feature
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
# CI Notes
|
# CI Notes
|
||||||
|
|
||||||
- Run `npx prisma migrate deploy` in CI.
|
- 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.
|
- Ensure ADMIN_TOKEN is set in environment for admin APIs.
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
import type { PlaywrightTestConfig } from "@playwright/test";
|
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 = {
|
const config: PlaywrightTestConfig = {
|
||||||
testDir: "./tests",
|
testDir: "./tests",
|
||||||
|
|||||||
Reference in New Issue
Block a user