playwright-conventions

Community

Standard Playwright conventions for dean-stack.

Authormatthewharwood
Version1.0.0
Installs0

System Documentation

What problem does it solve?

The shared Playwright conventions used by dean-stack ensure consistent test design, selector strategies, and fixture usage across all specs, reducing ambiguity and flakes.

Core Features & Use Cases

  • Selector strategy: prioritize getByRole, then getByTestId, then getByText.
  • Fixture patterns: fresh IDB, seeded IDB with deterministic setup, offline and throttled states.
  • Configuration shape: standardized playwright.config.ts and per-project test organization.
  • Reduced-motion enforcement and deterministic test behavior to minimize flake across CI and local runs.

Quick Start

Follow the ASK-FIRST policy and apply the selector-first strategy with fresh IDB fixtures by default.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: playwright-conventions
Download link: https://github.com/matthewharwood/dean-stack/archive/main.zip#playwright-conventions

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.