
Playwright Testing
Playwright E2E testing skill covering page objects, locator strategy, auth setup, and cross-browser CI configuration.
- skills.sh installs
- 2.5K
- GitHub stars
- 713
- last updated
- Jul 14, 2026
What it does
- Covers E2E workflow setup: project install,
playwright.config.ts, locator strategy, page object model, and authentication fixtures - Includes cross-browser projects for Chromium, Firefox, WebKit, plus Pixel 5 and iPhone 12 mobile viewports
- Enforces role-based and test-ID locators over CSS and XPath, with CI retries, forbidden
.only, and trace on first retry - Designed for teams writing or debugging Playwright specs in projects with a
playwrightore2edirectory
Install
$ npx -y skills add alinaqi/maggy --skill playwright-testing -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Playwright E2E Testing Skill
For end-to-end testing of web applications with Playwright - cross-browser, fast, reliable.
Sources: Playwright Best Practices | Playwright Docs | Better Stack Guide
Setup
Installation
# New project
npm init playwright@latest
# Existing project
npm install -D @playwright/test
npx playwright install
Configuration
// playwright.config.ts
import { defineConfig, devices } from '@playwright/test';
export default defineConfig({
testDir: './e2e',
fullyParallel: true,
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 2 : 0,
workers: process.env.CI ? 1 : undefined,
reporter: [
['html'],
['list'],
process.env.CI ? ['github'] : ['line'],
],
use: {
baseURL: process.env.BASE_URL || 'http://localhost:3000',
trace: 'on-first-retry',
screenshot: 'only-on-failure',
video: 'retain-on-failure',
},
Details
- Repository
- github.com/alinaqi/maggy
- Categories
- Testing & QA, Browser Automation & Scraping
- First seen
- Apr 16, 2026
More from alinaqi/maggy
All 54- Pwa Development2.4K
- Code Review1.3K
- Ui Mobile1K
- Posthog Analytics736
- Flutter685
- Supabase Nextjs651
- Supabase587
- Android Java583
- React Native517
- Aws Dynamodb419
- User Journeys406
- Code Deduplication335
- Nodejs Backend316
- Security315
- Aeo Optimization306
- Agentic Development304
- Ui Web285
- Woocommerce284
- Klaviyo267
- Ui Testing260
- React Web234
- Site Architecture233
- Commit Hygiene229
- Web Content226
Similar to Playwright Testing
More Testing & QA
playwright-expertjeffallan/claude-skills5.7K installsPlaywright E2E test specialist with role-based selectors, page object models, and flaky-test debugging.
playwrightmindrally/skills1.1K installsBest-practice guide for Playwright end-to-end tests, covering test structure, locators, assertions, and configuration.
playwright-e2e-testingfugazi/test-automation-skills-agents641 installsAuthoring and maintaining versioned Playwright TypeScript UI specs for browser user flows, with API-setup and mocking.
playwright-skilllambdatest/agent-skills559 installsGenerates production-grade Playwright E2E tests in five languages, running locally or on TestMu AI cloud.
playwright-cursor-rulesmindrally/skills733 installsExpert Playwright end-to-end testing guidance for TypeScript and JavaScript with role-based locators and web-first assertions.
playwright-best-practicescurrents-dev/playwright-best-practices-skill107.6K installsComprehensive guidance for writing, debugging, and maintaining Playwright tests across E2E, component, API, visual, accessibility, security, Electron, and exten