
Test Automation
12 min read
Playwright Fixtures Explained: Setup, Scope and Reuse
Fixtures build what a test needs and clean it up. How Playwright's scopes work, why teardown follows dependency order, and the patterns that couple tests.

Fixtures build what a test needs and clean it up. How Playwright's scopes work, why teardown follows dependency order, and the patterns that couple tests.

Contract testing vs E2E testing: what each layer actually catches, why contract testing is still rare, where API tests fit, and a checklist for deciding which layer should catch which failure.