chore(agents): clarify playwright for e2e tests
This commit is contained in:
parent
3a47c062da
commit
1f15fa000e
|
|
@ -51,8 +51,7 @@ Navigate to `frontend/` directory:
|
||||||
- **Lint Styles Fix**: `pnpm lint:styles:fix` - Stylelint with auto-fix
|
- **Lint Styles Fix**: `pnpm lint:styles:fix` - Stylelint with auto-fix
|
||||||
- **Type Check**: `pnpm typecheck` - Vue TypeScript checking
|
- **Type Check**: `pnpm typecheck` - Vue TypeScript checking
|
||||||
- **Test Unit**: `pnpm test:unit` - Vitest unit tests
|
- **Test Unit**: `pnpm test:unit` - Vitest unit tests
|
||||||
- **Test E2E**: `pnpm test:e2e` - Cypress end-to-end tests
|
- **Test E2E**: `pnpm test:e2e` - Playwright end-to-end tests (located in `tests/e2e/`)
|
||||||
- **Test E2E Dev**: `pnpm test:e2e-dev` - Interactive Cypress testing
|
|
||||||
|
|
||||||
### Pre-commit Checks
|
### Pre-commit Checks
|
||||||
Always run both lint before committing:
|
Always run both lint before committing:
|
||||||
|
|
@ -150,7 +149,7 @@ Modern Vue 3 composition API application with TypeScript:
|
||||||
|
|
||||||
### Testing
|
### Testing
|
||||||
- Backend: Feature tests alongside source files, web tests in `pkg/webtests/`
|
- 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
|
- Always test both positive and negative authorization scenarios
|
||||||
- Use test fixtures in `pkg/db/fixtures/` for consistent test data
|
- Use test fixtures in `pkg/db/fixtures/` for consistent test data
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue