From 1f15fa000e2f9b65e38ad7e48f83d3700b9e8bc4 Mon Sep 17 00:00:00 2001 From: kolaente Date: Tue, 6 Jan 2026 16:26:45 +0100 Subject: [PATCH] chore(agents): clarify playwright for e2e tests --- AGENTS.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index c944813fa..4b023b36f 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -51,8 +51,7 @@ Navigate to `frontend/` directory: - **Lint Styles Fix**: `pnpm lint:styles:fix` - Stylelint with auto-fix - **Type Check**: `pnpm typecheck` - Vue TypeScript checking - **Test Unit**: `pnpm test:unit` - Vitest unit tests -- **Test E2E**: `pnpm test:e2e` - Cypress end-to-end tests -- **Test E2E Dev**: `pnpm test:e2e-dev` - Interactive Cypress testing +- **Test E2E**: `pnpm test:e2e` - Playwright end-to-end tests (located in `tests/e2e/`) ### Pre-commit Checks Always run both lint before committing: @@ -150,7 +149,7 @@ Modern Vue 3 composition API application with TypeScript: ### Testing - Backend: Feature tests alongside source files, web tests in `pkg/webtests/` -- Frontend: Unit tests with Vitest, E2E tests with Cypress +- Frontend: Unit tests with Vitest, E2E tests with Playwright - Always test both positive and negative authorization scenarios - Use test fixtures in `pkg/db/fixtures/` for consistent test data