playwright-testing

Automate end-to-end tests for WordPress FSE themes with Playwright.

Updated Jan 5, 2026
Ready to run
npx skills add https://github.com/WesleySmits/oh-my-brand-wp-fse --skill playwright-testing-wesleysmits
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: playwright-testing
Source: https://github.com/WesleySmits/oh-my-brand-wp-fse/tree/main/.github/skills/playwright-testing
Command: npx skills add https://github.com/WesleySmits/oh-my-brand-wp-fse --skill playwright-testing-wesleysmits

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Playwright-based end-to-end testing for the Oh My Brand WordPress Theme ensures reliable frontend behavior, block editor workflows, and accessibility checks across browsers.

Core Features & Use Cases

  • Automated browser-based tests for frontend blocks and editor interactions
  • Accessibility checks and visual regression across devices and viewports
  • Reusable test templates and configuration guides for WP FSE themes

Quick Start

Install dependencies and run the e2e test suite against a local WordPress environment.

Frequently Asked Questions about playwright-testing

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

FAQPage Schema
How do I automate Playwright E2E tests for a WordPress FSE theme?▼

Automate Playwright E2E tests for a WordPress FSE theme by utilizing a tests/e2e directory structure with a Playwright configuration and reference test templates to validate frontend blocks and editor workflows.

Can I run visual regression and accessibility checks across multiple browsers for WordPress themes?▼

Yes, you can run visual regression and accessibility checks across multiple browsers and devices by leveraging Playwright configuration to target responsive viewports and frontend block behavior.

What is the best way to test block editor workflows in WordPress?▼

The best way to test block editor workflows in WordPress is through automated browser-based E2E testing that directly targets editor interactions to ensure reliable behavior.

Do I need a local WordPress environment to run Playwright E2E tests?▼

Yes, you need a local WordPress environment to run the E2E test suite, which requires installing dependencies and executing tests against your local setup.

How does visual regression testing work for WordPress themes?▼

Visual regression testing for WordPress themes works by capturing screenshots of frontend blocks across various devices and viewports, then comparing them against reference templates to detect visual discrepancies.

What limitations exist when automating accessibility checks with Playwright for WordPress?▼

Limitations of automating accessibility checks with Playwright include relying on reference test templates for guidance and requiring a properly configured tests/e2e structure to accurately target frontend block behavior.