playwright

Solid

Playwright E2E testing, page objects, fixtures, visual regression, accessibility testing, and CI integration patterns.

Testing & QA 814 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 95/100

Stars 20%
97
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Playwright Skill Expert assistance for building comprehensive E2E test suites with Playwright, including page objects, fixtures, visual regression, and CI/CD integration. ## Capabilities - Generate Playwright test project structure - Create page object models for maintainable tests - Implement custom fixtures and test utilities - Configure visual regression testing - Set up accessibility testing with axe-core - Integrate with CI/CD pipelines (GitHub Actions, etc.) - Generate API testing alongside UI tests ## Usage Invoke this skill when you need to: - Set up Playwright testing for a web application - Create page object patterns for test organization - Implement visual regression testing - Configure cross-browser testing - Set up CI/CD test automation ## Inputs | Parameter | Type | Required | Description | |-----------|------|----------|-------------| | projectType | string | No | web, api, component (default: web) | | framework | string | No | react, nextjs, vue, angular | | browsers | array | No | chromium, firefox, webkit (default: all) | | features | array | No | visual, a11y, api, component | | ci | string | No | github, gitlab, jenkins | ### Test Configuration ```json { "projectType": "web", "framework": "nextjs", "browsers": ["chromium", "firefox"], "features": ["visual", "a11y", "api"], "ci": "github", "baseUrl": "http://localhost:3000" } ``` ## Output Structure ``` tests/ ├── playwright.config.ts # Playwright configuration ├── fixtur...

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Integrates with

Related Skills