What problem does it solve?
Scans and analyzes an existing Playwright test codebase to understand its conventions, configuration, and patterns before writing new tests. It outputs a structured report that helps engineers plan improvements without modifying tests or running live apps.
Core Features & Use Cases
- Locate Playwright configuration files (playwright.config.ts, playwright.config.js, or playwright.config.mjs) across the project.
- Extract configuration details such as baseURL, testDir, projects, use options (viewport, headless, trace, screenshot), webServer, and globalSetup/globalTeardown.
- Scan the test directory structure to count tests, identify naming conventions, and understand organization strategies.
- Detect common testing patterns (locator strategies, wait strategies, test structure, data management, Page Objects, auth handling, and custom fixtures).
- Check for supporting infrastructure like fixtures, pages, environment files, CI configs, npm scripts, HARs, and snapshots to inform coverage.
Quick Start
Run this skill from the project root to generate a concise report of your Playwright setup.