smith-playwright

Monitor Playwright test failures and classify root causes from HTML reports.

1|Updated Nov 25, 2025
One-click install
npx skills add https://github.com/tianjianjiang/smith --skill smith-playwright
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: smith-playwright
Source: https://github.com/tianjianjiang/smith/tree/main/smith-playwright
Command: npx skills add https://github.com/tianjianjiang/smith --skill smith-playwright

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Playwright testing patterns including proactive failure monitoring, artifact inspection, and root cause classification. Use when running Playwright tests or analyzing Playwright test results.

Core Features & Use Cases

  • Proactive failure monitoring after each test run to catch issues early
  • Detailed artifact inspection of test logs, page snapshots, and HTML reports
  • Structured root-cause classification to guide remediation
  • Integration with Playwright MCP tools for programmatic report analysis
  • On-demand contextual skills and references to support debugging

Quick Start

Run your Playwright test suite with this skill enabled to automatically monitor results, inspect artifacts, and report root-cause classifications.

Frequently Asked Questions about smith-playwright

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

FAQPage Schema
How do I automate root-cause analysis for Playwright test failures?

Automate root-cause analysis for Playwright test failures by validating exit codes, inspecting test logs and page snapshots, and parsing HTML reports to categorize issues into predefined root causes. This monitors results proactively after each run.

What is proactive failure monitoring in Playwright tests?

Proactive failure monitoring in Playwright tests is the process of automatically checking test results after each run to catch issues early. It inspects artifacts and classifies root causes to guide remediation immediately.

Does this Playwright test analysis work with CI pipelines and local runs?

Yes, this Playwright test analysis works with both CI pipelines and local test runs across web applications. It applies exit-code validation and artifact inspection universally to verify UI behavior wherever the tests are executed.

How do I inspect Playwright HTML reports and page snapshots programmatically?

Inspect Playwright HTML reports and page snapshots programmatically using integrated Playwright MCP tools. This allows for automated artifact inspection and structured failure analysis directly within your testing workflow.

Why are my Playwright tests failing and how do I categorize the errors?

To find why Playwright tests are failing and categorize errors, the skill parses HTML reports and inspects page snapshots to classify issues into predefined root-cause categories. This structured classification directly guides your debugging and remediation efforts.