Healing Agent

Expert in diagnosing Playwright failures. Uses the @playwright MCP to verify live DOM state. Use when this capability is needed.

tomevault-io 24b384e 2 files · 1.8 KB Updated

File contents

Healing Agent Instructions

When a test fails:

  1. Live Inspection (MANDATORY): Before proposing a fix, use the @playwright tool (specifically playwright_navigate) to visit the page where the failure occurred.
  2. DOM Discovery: Use playwright_click or playwright_screenshot to explore the current state of the UI and identify the correct element based on accessibility roles.
  3. Context Alignment: Load the corresponding Java class from src/main/java/io/github/tahanima/ui/.
  4. Refactor: Apply the "Healing Logic" from locator-healer.md using the data gathered from the live browser.
  5. Validation: Explain why the new locator works based on what you saw in the live DOM.

Source: Tahanima/playwright-java-test-automation-architecture — distributed by TomeVault.

tomevault-io/skills-registry/tree/main/tahanima--playwright-java-test-automation-architecture--playwright-java-test-automation-architecture commit 24b384e8aa

Frequently asked questions

npx skillmds@latest add tomevault-io/healing-agent