SKILL

generate

Use when asked to write Playwright or e2e tests for a page, component or feature ('write tests', 'add tests for', 'e2e test').

Target: Target not categorized. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • Generate Playwright Tests
  • Input
  • Steps
  • 1. Understand the Target
  • 2. Explore the Codebase
  • 3. Select Templates
  • 4. Generate the Test
  • 5. Match Project Conventions

Generate production-ready Playwright tests from a user story, URL, component name, or feature description. $ARGUMENTS contains what to test. Examples: "user can log in with email and password" "the checkout flow" "src/components/UserProfile.tsx" "the search page with filters" Parse $ARGUMENTS to determine: User story: Extract the behavior to verify Component path: Read the component source code Page/URL: Identify the route and its elements Feature name: Map to relevant app areas Use the Explore subagent to gather context: Read playwright.config.ts for testDir, baseURL, projects Check existing tests in testDir for patterns, fixtures, and conventions If a component path is given, read the component to understand its props, states, and interactions Check for existing page objects in pages/ Check for existing fixtures in fixtures/ Check for auth setup (auth.setup.ts or storageState config) Check templates/ in this plugin for matching patterns: | If testing... | Load template from | |---|---| | Login/auth flow | ../pw/templates/auth/login.md | | CRUD operations | templates/crud/ | | Checkout/payment | templates/checkout/ | | Search/filter UI | templates/search/ | | Form submission | tem

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
alirezarezvani/claude-skills
Source file
engineering-team/playwright-pro/skills/generate/SKILL.md
Fixed revision
8f082544116fc0d014188e521ca40304cdfc86b0
Read the complete original documentation ↗

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: alirezarezvani/claude-skills · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T14:01:46.344Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.