mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-02-01 22:47:40 +00:00
chore(agents): clarify playwright for e2e tests
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user