Test Organization

Test file structure and naming for Playwright + TypeScript — Gherkin test.step (Given/When/Then/Cleanup), ticket-prefixed naming, file size limits (50 tests / 1200 lines), failure classification (test.fail / test.fixme / test.skip), try/finally cleanup pattern, no functions in test files, and parallel-safety rules. Use when writing a new test, naming a test or describe block, structuring test.step calls, classifying a failing test, refactoring oversized test files, or reviewing test organization.

antongulin f119fa6 2 files · 15.1 KB Updated

File contents

antongulin/pw-kit/tree/main/skills/test-organization commit f119fa60b9

Frequently asked questions

npx skillmds@latest add antongulin/test-organization