fix

Diagnose and fix failing or flaky Playwright tests.

Updated Apr 2, 2026
One-click install
npx skills add https://github.com/4lerman/text_evaluator --skill fix-4lerman
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fix
Source: https://github.com/4lerman/text_evaluator/tree/main/.agents/skills/engineering-skills/playwright-pro/skills/fix
Command: npx skills add https://github.com/4lerman/text_evaluator --skill fix-4lerman

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright, puppeteer, pytest, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of diagnosing and fixing failing or flaky Playwright tests, saving developers time and effort.

Core Features & Use Cases

  • Test Diagnosis: Identifies the root cause of failing tests using a systematic approach.
  • Fix Recommendations: Provides targeted fixes for common issues like timing/async problems, test isolation issues, environment mismatches, and infrastructure issues.
  • Use Case: When a developer encounters a test that fails intermittently or only in certain environments, this Skill can help pinpoint the issue and suggest a fix.

Quick Start

Run the 'fix' skill on your failing Playwright test to automatically diagnose and suggest fixes.

Frequently Asked Questions about fix

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

FAQPage Schema
How do I fix flaky Playwright tests that fail intermittently?

To fix flaky Playwright tests, you need to diagnose timing and async issues, test isolation problems, or environment mismatches. This Skill systematically analyzes failing test runs to pinpoint root causes and suggest targeted automated repairs.

Why does my Playwright test only fail in certain environments?

Playwright tests failing in certain environments often stem from environment mismatches or infrastructure problems. This Skill identifies these specific discrepancies during diagnosis and provides recommendations to align your test execution context.

Can I use this to diagnose test isolation issues in Playwright?

Yes, you can diagnose test isolation issues in Playwright using this Skill. It systematically identifies root causes when tests fail due to shared state or improper cleanup, providing targeted fixes to stabilize your test suite.

Does this Skill work with pytest and puppeteer dependencies?

This Skill utilizes Playwright, puppeteer, and pytest dependencies to perform automated test analysis and repair. It leverages these tools to handle timing issues, environment mismatches, and infrastructure problems.

What is the best way to handle timing and async problems in Playwright tests?

The best way to handle timing and async problems in Playwright tests is through systematic diagnosis of failing runs. This Skill identifies root causes related to synchronization and provides targeted fix recommendations to resolve them.

When should I not use automated Playwright test fixing?

You should avoid automated Playwright test fixing when failures stem from application logic bugs rather than test infrastructure issues. This Skill targets timing, isolation, and environment problems, meaning actual code defects require manual developer intervention.