playwright-best-practices

Installation
SKILL.md

Playwright Best Practices

Use this for browser-level tests that should behave like a reliable user.

Project Fit Check

Before writing tests:

  1. Read existing Playwright config, fixtures, helpers, test ids, auth setup, route mocks, and CI commands.
  2. Follow the repo's locator strategy.
  3. Reuse existing page objects/helpers only when they reduce duplication.
  4. Keep assertions tied to user-visible behavior and accessibility semantics.
  5. Do not add sleeps to hide race conditions.

Test Rules

Installs
5
GitHub Stars
4
First Seen
Aug 12, 2026