chore(agents): clarify playwright for e2e tests

This commit is contained in:
kolaente
2026-01-06 16:26:45 +01:00
parent 3a47c062da
commit 1f15fa000e

View File

@@ -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