Architecture Defaults
Pack:
playwrightParent skill: Playwright Default Test Architecture Source:playwright/playwright-default-test-architecture/references/architecture-defaults.mdDefault suite posture:
- one config file
- a small number of projects
- tests grouped by feature or journey
- shared setup in fixtures
- retries used sparingly
Good fixture responsibilities:
- authenticated session bootstrap
- test data bootstrap
- page-object-like helpers only when they remove real repetition
Bad fixture responsibilities:
- hiding the entire test story
- branching heavily by feature
- owning business logic assertions
Default CI stance:
- retries can exist
- traces on retry or failure
- deterministic environment first
- parallelism tuned to infra stability, not maximized blindly