For E2E tests : Use skill (Playwright). This skill covers unit/integration tests with Vitest + React Testing Library. Test Structure (REQUIRED) Use Given/When/Then (AAA) pattern with comments: --- Describe Block Organization Group by behavior, NOT by method. --- Query Priority (REQUIRED) | Priority | Query | Use Case | |----------|-------|----------| | 1 | | Buttons, inputs, headings | | 2 | | Form fields | | 3 | | Inputs without label | | 4 | | Static text | | 5 | | Last resort only | --- userEvent over fireEvent (REQUIRED) --- Async Testing Patterns --- Mocking vi.spyOn vs vi.mock | Method…