Przejdź do treści
Biblioteka skilli
Programowanie · Testowanie

quality-engineering-test-healing

/quality-engineering-test-healing

Klasyfikuje awarie testu E2E i wskazuje dozwolone oraz zakazane naprawy, decydując, czy naprawić test, czy zgłosić prawdziwy błąd.

Licencja
MIT
Ostatnia zmiana repozytorium
12.11.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
6
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 12.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Klasyfikuje awarie testu E2E i wskazuje dozwolone oraz zakazane naprawy, decydując, czy naprawić test, czy zgłosić prawdziwy błąd.

Oryginalny opis (EN)

Failure taxonomy and allowed/forbidden repairs for a failing E2E test. Use when a Playwright/Maestro/Detox/XCUITest/Espresso/Appium test fails and you must decide whether to repair the test or route to a real bug.

Jak działa

  1. Priority: P0 (CRITICAL)
  2. Failure Classes
  3. Allowed Repairs
  4. Forbidden Repairs
  5. Verdicts
  6. Red Flags
  7. References
Sekcje z nagłówków SKILL.md, w oryginale · 34 linii, 313 słów
Podgląd SKILL.md
---
name: quality-engineering-test-healing
description: Failure taxonomy and allowed/forbidden repairs for a failing E2E test. Use when a Playwright/Maestro/Detox/XCUITest/Espresso/Appium test fails and you must decide whether to repair the test or route to a real bug.
metadata:
  triggers:
    files:
      - "test-results/**"
      - "playwright-report/**"
    keywords:
      - heal test
      - failing e2e
      - selector repair
      - test healer
      - fix the test
      - timed out waiting for
---
# Quality Engineering: Test Healing

## **Priority: P0 (CRITICAL)**

## Failure Classes

`SELECTOR_DRIFT` (id/locator changed) · `TIMING_SYNC` (race/wait, no state change) · `DATA_ENV` (fixture/seed/env stale) · `INFRA` (network/runner/flake) · `REAL_REGRESSION` (product behavior actually changed).

Classify from evidence: trace/screenshot/DOM diff supports a drift/timing/data explanation, or the product diff shows an intentional behavior change (REAL_REGRESSION).

## Allowed Repairs

Move the locator up the selector ladder (e.g., `getByRole` if the ID changed); replace a sleep with an explicit state wait; fix a stale fixture/seed; retry only for `INFRA`.

## Forbidden Repairs

Never weaken an assertion. Unchanged assertion text does NOT authorize weakening fixtures, state preconditions, or locator specificity (e.g., replacing targeted test seeds with generic/empty defaults or widening selectors to match unintended elements). Never add `test.skip`/`fixme`; a test that must stop gating goes to quarantine per `quality-engineering-flaky-triage` with a ticket + expiry, and keeps running. Never widen a matcher. Never inflate a timeout by more than 2x. Never blind `--update-snapshots`. Never catch-and-continue. Never touch production code — that is `REAL_REGRESSION`, not a heal.

## Verdicts

`HEALED` (repair verified by 3 consecutive green reruns, ASSERTION_DELTA: none, fixture and selector integrity preserved) · `REAL_BUG_DO_NOT_HEAL` (product behavior changed or real defect exposed; route to dev-fix) · `QUARANTINE_CANDIDATE` (intermittent failure across isolated reruns; route to flaky-triage) · `BLOCKED` (no evidence artifact, or no stable locator target: route to `specialist-testid-inserter`).

## Red Flags

"the assertion is unchanged so loosening the fixture is fine" · "broaden selector so any element matches" · "the assertion was too strict anyway" · "the product changed so update the expected value" · "just add retries so it goes green" — do not heal with these rationalizations. All are `REAL_BUG_DO_NOT_HEAL` or `QUARANTINE_CANDIDATE` in disguise, never `HEALED`.
## References

- [Failure Taxonomy Signals](references/failure-taxonomy.md)
- [Repair Catalog](references/repair-catalog.md)
- [Forbidden Repairs](references/forbidden-repairs.md)
- [Verdict Contract](references/verdict-contract.md)
- [Flaky Triage](../quality-engineering-flaky-triage/SKILL.md) — quarantine contract for `QUARANTINE_CANDIDATE`
- [Visual Baseline](../quality-engineering-visual-baseline/SKILL.md) — screenshot failures before `REAL_REGRESSION`
Pliki w paczce (6)
  • LICENSE 1 KB
  • SKILL.md 3 KB
  • references/failure-taxonomy.md 1 KB
  • references/forbidden-repairs.md 1 KB
  • references/repair-catalog.md 1 KB
  • references/verdict-contract.md 1 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · HoangNguyen0403/agent-skills-standard90MIT
HoangNguyen0403/agent-skills-standard90MIT

Migawka bazy z 13.11.2026 · wersja paczki 95a50a6fe031 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 90mobile-e2e-strategy
    Pomaga wybrać framework E2E dla aplikacji mobilnych (Detox, Appium, Maestro, XCUITest, Espresso) i zaplanować pokrycie symulatorów i emulatorów w CI.
  • 100detox
    Pomaga projektować, wdrażać i stabilizować testy E2E Detox dla React Native, w tym konfigurację .detoxrc.js, matchery by.id i by.label oraz uruchamianie aplikacji przez device.launchApp.
  • 100appium
    Pomaga projektować, wdrażać, debugować i skalować testy Appium dla automatyzacji mobilnej iOS i Androida, w tym sterowniki UiAutomator2 i XCUITest, capabilities, W3C Actions i chmury urządzeń.
  • 80role-aqa:mobile-testing
    Automatyzuje testy aplikacji mobilnych w Appium, Detox, XCUITest i Espresso oraz w chmurowych farmach urządzeń.
  • 90audit-mobile-qa
    Ocenia testy, stabilność i dostępność aplikacji mobilnych na Androidzie, iOS, Flutter i React Native.
  • 100browser-test-self-healing
    Buduje w AgentWorks przepływ, który diagnozuje awarię testu przeglądarkowego, proponuje naprawę samego testu, weryfikuje ją w izolacji, uzyskuje recenzję i aktualizuje testy oraz wiedzę o aplikacji.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.