Agent Skills: testing-conventions

Vitest 4 + Playwright testing conventions: query priority (getByRole > getByText > getByTestId), seed-resilient patterns, realistic user flows (happy path & early finish), virtualized lists, fake-indexeddb isolation, factories, and gotchas (database reset, userEvent, expect.poll). Triggers: "query priority", "getByRole", "getByTestId", "getByLabelText", "querySelector", "seed data", "test invariants", "test isolation", "fake-indexeddb", "database reset", "expect.poll", "expect.element", "assertion", "userEvent", "realistic flows", "early finish", "virtualized list", "virtual scroll", "scoped query", "animation test", "visual state", "factory", "workoutBuilder", "flaky test", "navigation test", "exercise selection", "data attribute query", "test cleanup", "test gotchas".

UncategorizedID: alexanderop/workouttracker/testing-conventions

Install this agent skill to your local

pnpm dlx add-skill https://github.com/alexanderop/workouttracker/testing-conventions

Skill Files

Browse the full folder contents for testing-conventions.

Download Skill

Loading file tree…

Select a file to preview its contents.