playwright-validation

Validate UI changes on feature branches with Playwright end-to-end tests.

Updated Jul 13, 2023
One-click install
npx skills add https://github.com/Jason-Clark-FG/OpenMetadata-Mirror --skill playwright-validation-jason-clark-fg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright-validation
Source: https://github.com/Jason-Clark-FG/OpenMetadata-Mirror/tree/main/.claude/skills/playwright-validation
Command: npx skills add https://github.com/Jason-Clark-FG/OpenMetadata-Mirror --skill playwright-validation-jason-clark-fg

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill streamlines UI change validation by guiding you through end-to-end Playwright checks for branch diffs, ensuring new UI changes are tested and existing tests cover new scenarios.

Core Features & Use Cases

  • Review branch changes: Identify UI-related files changed in a feature branch and assess test coverage gaps.
  • Validate UI with Playwright MCP: Run and review Playwright MCP-based validations to ensure UI stability.
  • Add missing tests: Generate or outline missing Playwright tests to ensure comprehensive coverage for new UI components.

Quick Start

Use this skill to review a feature branch, run Playwright MCP validations, and generate missing test cases. Then integrate the new tests into your CI workflow.

Frequently Asked Questions about playwright-validation

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

FAQPage Schema
How do I validate UI changes on a feature branch using Playwright?

Playwright UI validation for feature branches is automated by running end-to-end checks via Playwright MCP tooling to identify changed files, assess coverage gaps, and ensure UI stability before review.

What is the best way to add missing Playwright tests for new UI components?

Adding missing Playwright tests involves generating or outlining test cases that target new UI components, ensuring comprehensive end-to-end coverage for scenarios introduced in the feature branch.

Do I need Node.js installed to run Playwright MCP validations?

Yes, you need a Node.js environment with Playwright installed and access to MCP tooling to run browser-based checks and validate UI changes effectively.

Can I use this to review branch diffs and find test coverage gaps?

Yes, you can review branch diffs to identify UI-related files changed in a feature branch and assess existing test coverage gaps to determine where new Playwright tests are needed.

How does Playwright MCP help with e2e testing for branch reviews?

Playwright MCP helps with e2e testing for branch reviews by running browser-based checks that validate UI stability and guide you through adding missing test coverage for new scenarios.

What are the limitations of automating UI validation with Playwright MCP?

Limitations include requiring a Node.js environment with Playwright installed and access to MCP tooling, meaning it cannot run browser-based checks without these dependencies properly configured.