playwright-reviewing

Review Playwright TypeScript tests for anti-patterns and best practices.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/meriley/claude-code-skills --skill playwright-reviewing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright-reviewing
Source: https://github.com/meriley/claude-code-skills/tree/main/skills/playwright-reviewing
Command: npx skills add https://github.com/meriley/claude-code-skills --skill playwright-reviewing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps ensure your Playwright end-to-end tests are robust, maintainable, and free from common anti-patterns that lead to flakiness and bugs.

Core Features & Use Cases

  • Violation Detection: Identifies mocked app data, explicit timeouts, fragile CSS selectors, skipped tests, and incorrect assertion patterns.
  • Best Practice Enforcement: Audits tests against established Playwright best practices for locators, assertions, and structure.
  • Use Case: When reviewing a Pull Request containing new Playwright tests, use this Skill to automatically flag any critical issues like skipped tests or mocked API calls before they are merged.

Quick Start

Run a comprehensive review of all Playwright test files in the current directory.

Frequently Asked Questions about playwright-reviewing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect common Playwright test anti-patterns in my codebase?

To detect Playwright test anti-patterns, you can run static analysis using grep commands on TypeScript test files to identify mocked application data, explicit timeouts, fragile CSS selectors, and skipped tests.

What are the best practices for reviewing Playwright end-to-end tests?

Reviewing Playwright end-to-end tests involves checking for adherence to established best practices regarding locators, assertions, and structure, while flagging issues like explicit timeouts and mocked API calls.

How do I automate code review for Playwright tests in a pull request?

Automating code review for Playwright tests involves running a static audit on new TypeScript test files to flag critical issues like skipped tests or mocked API calls before they are merged into the main branch.

Why does my Playwright test review flag explicit timeouts and CSS selectors?

Playwright test review flags explicit timeouts and CSS selectors because they are common anti-patterns that lead to test flakiness and maintenance issues, violating established end-to-end testing best practices.

Can I audit skipped tests and assertion anti-patterns in TypeScript Playwright files?

Yes, you can audit skipped tests and assertion anti-patterns in TypeScript Playwright files by running grep-based static analysis to ensure test robustness and adherence to best practices.