← Catalog

No. 023 · testing

Playwright E2E

End-to-end testing with Playwright

Version 1.0.0 License MIT Format SKILL.md

Write reliable end-to-end tests with Playwright: page object models, waiting strategies, visual regression, network interception, and cross-browser testing.

When to use this skill

  • Writing end-to-end tests
  • Setting up Playwright in a project
  • Debugging a flaky E2E test

Core concepts

This skill provides guidance on playwright e2e best practices, patterns, and common pitfalls. It is designed to be loaded on demand when a relevant task is detected.

Installation

curl -LO https://opencode-skills.example/downloads/testing/playwright-e2e.zip
unzip playwright-e2e.zip -d ~/.config/opencode/skills/

Restart OpenCode — the skill loads automatically.

When it triggers

  • writing end-to-end tests
  • setting up Playwright in a project
  • debugging a flaky E2E test