e2e
Installation
SKILL.md
E2E Testing Skill
Learnings and patterns from completed E2E work (tasks.spec.ts, items.spec.ts).
Quick Reference
| Scenario | Pattern | Example |
|---|---|---|
| Isolated daemon | import { test } from '../fixtures/test-base' |
Every E2E test |
| Select dropdown (bits-ui) | Click trigger → getByRole('option') or locator('[data-slot="select-item"]') |
Filter tests |
| Text input | pressSequentially() with delay |
Tag filter |
| Wait for API | waitForRequest() |
Action tests |
| Wait for URL | waitForURL(/pattern/) |
Navigation tests |
| Scoped selectors | .locator('> div').first().getByTestId() |
Tree nav |
| Content check | toContainText() not just toBeVisible() |
All tests |