playwright

Plan, generate, and heal Playwright E2E tests in a monorepo.

48|7|Updated Aug 20, 2022
One-click install
npx skills add https://github.com/yacosta738/yacosta738.github.io --skill playwright-yacosta738
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright
Source: https://github.com/yacosta738/yacosta738.github.io/tree/main/.agents/skills/playwright
Command: npx skills add https://github.com/yacosta738/yacosta738.github.io --skill playwright-yacosta738

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Writing and maintaining Playwright E2E tests across a monorepo can be error-prone and time-consuming; this skill unifies planning, generation, and healing to streamline the workflow.

Core Features & Use Cases

  • Planning: outline test strategies and seed scenarios for portfolio and blog apps.
  • Generation: convert plans into executable Playwright specs and fixtures.
  • Healing: quickly fix failing tests by adjusting selectors and flows with guided tooling.
  • Use Case: Create a new test plan, generate corresponding spec files, and repair broken tests in response to changes.

Quick Start

Invoke the planner to start a new Playwright E2E test plan and generate corresponding specs.

Frequently Asked Questions about playwright

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I plan and generate Playwright E2E tests in a monorepo?

To generate Playwright E2E tests in a monorepo, you can use an automated workflow that outlines test strategies, converts plans into executable specs, and integrates shared fixtures across portfolio and blog apps.

What is the best way to heal failing Playwright E2E tests?

Healing failing Playwright E2E tests involves using guided tooling to quickly adjust selectors and update test flows, repairing broken tests caused by application changes while maintaining shared fixtures and seed scenarios.

Can I use automated test generation to create Playwright specs and fixtures?

Yes, automated test generation converts structured test plans into executable Playwright spec files and associated fixtures, streamlining the creation of E2E tests and ensuring proper integration with shared configs.

Does this Playwright test generation approach support monorepo environments?

Yes, this approach specifically supports monorepo environments by unifying test planning, spec generation, and healing across multiple apps, applying shared fixtures, configs, and seed tests to maintain portfolio and blog applications.

Why do my Playwright E2E tests keep failing after UI changes?

Playwright E2E tests fail after UI changes due to broken selectors or outdated flows; guided healing tooling adjusts these selectors and updates test logic to quickly repair and maintain the affected specs.

When do I need to update test fixtures for Playwright E2E testing?

You need to update test fixtures for Playwright E2E testing when application changes break existing seed scenarios, requiring adjustments to shared fixtures and configs to ensure generated specs continue executing correctly.