P

playwright-best-practices

bycurrents-devΒ·#158 trending

Install the playwright-best-practices skill for your AI agent. Published by currents-dev/playwright-best-practices-skill.

32.7Kweekly installs
247stars
First seenToday

Installation

Send this command to your AI agent:

npx skills add https://github.com/currents-dev/playwright-best-practices-skill --skill playwright-best-practices

Documentation

Comprehensive reference guide for writing, debugging, and maintaining Playwright tests across all testing types and scenarios.

  • Covers 50+ testing patterns including E2E, component, API, GraphQL, visual regression, accessibility, security, mobile, and Electron app testing
  • Includes activity-based lookup tables for writing new tests, debugging failures, fixing flaky tests, and infrastructure setup
  • Provides decision trees for test type selection, architecture patterns (POM vs fixtures), framework-specific guidance (React, Angular, Vue, Next.js), and error scenario handling
  • Addresses advanced topics: multi-user collaboration, WebSocket/real-time testing, OAuth/SSO mocking, third-party service integration, performance budgeting, and console error monitoring