From 043cde9fcc79bbcd66910482da243c62a736e651 Mon Sep 17 00:00:00 2001 From: yiling Date: Mon, 3 Aug 2026 17:09:46 +0800 Subject: [PATCH] update agentsmd --- AGENTS.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 0e2d3d12..72e8f894 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -286,8 +286,7 @@ describe('Team API', () => { - Located in `apps/web/e2e/**/*.spec.ts`, organized by domain under `tests//` (e.g. `auth`, `project`). - Run via `bun run test:e2e`. -- **Fixtures**: Use the `owner`, `project`, and `file` fixtures for setup — they seed data through API calls/DB (no slow UI setup). UI interactions are only allowed in the flow under test. -- **DB isolation**: Each test truncates all tables via the auto `prisma` fixture, so fixtures must create their data per-test. App projects run with `workers: 1` because all tests share a single database. +- **Fixtures**: Use the `owner`, `project`, and `file` fixtures for setup — they seed data through API calls/DB (no slow UI setup). You can add more fixtures if necessary. - **Documentation**: Every test case MUST be documented in [`apps/web/e2e/README.md`](apps/web/e2e/README.md). Add or update the corresponding entry in the README whenever you add, rename, or remove a spec. ## Prisma Configuration & Migrations