HomeSAGOZEN QualitySelf-Healing Playwright Tests
Auto-Repair Engine

Never waste another afternoon fixing broken test selectors.

When UI class names change or components get refactored, standard tests fail. SAGOZEN Quality's self-healing engine detects locator drift, finds the correct element, fixes the script, and opens a fix PR.

The Challenge

Why Traditional Approaches Fail

Engineers lose trust in E2E automation because 50% of test failures are false positives caused by minor frontend design updates.

The SAGOZEN Solution

Evidence-Based Release Assurance

Our self-healing Playwright wrapper catches locator exceptions during runtime, evaluates spatial and visual attributes, corrects the selector on the fly, and updates your repository.

Core Solution Capabilities

Engineered capabilities designed to eliminate release friction.

01

Real-Time Selector Repair

Tests continue executing without failing the CI pipeline when UI classes or test IDs change.

02

Auto-Git Commit & PR Patching

Healed locators are saved back into your repository clean standard Playwright scripts.

03

Flakiness Diagnostics & Telemetry

Managed Cloud tracks locator health over time, alerting teams to unstable UI components.

Implementation & Configuration

Clean, standard execution scripts with zero vendor lock-in.

playwright.config.ts
typescript
import { defineConfig } from '@playwright/test';
import { withSelfHealing } from '@sagozen/quality/playwright';

export default defineConfig(withSelfHealing({
  testDir: './e2e',
  use: {
    headless: true,
    sagozenHeal: {
      autoCommitFixes: true,
      visualConfidence: 0.95,
      managedDashboardSync: true
    }
  }
}));

Frequently Asked Questions

Does Self-Healing modify our codebase without permission?

No. You control whether healed scripts auto-commit to Git or are submitted via a pull request for human review.

Does it work with standard Playwright?

Yes, it acts as a lightweight wrapper on top of standard open Playwright TypeScript.