Loop Engineering

The Testing Academy · Masterclass · QA Engineering

Loop Engineering for QA.

Design QA systems that observe evidence, make one bounded change, verify independently, preserve the record, and stop for a human decision.

3 parts 18 lessons Playwright project Evidence + guardrails

Before you begin

Bring a safe, disposable target.

The included project supplies the broken test, protected product fixture, immutable oracle, and deterministic maker. No AI API key or production access is required.

Open the setup lesson
Runtime
Node.js 20 or newer, npm, and Git.
Browser
Chromium installed through Playwright.
Working knowledge
Read a locator failure, a web-first assertion, and a Git diff.
Safety boundary
Use only the synthetic fixture. Keep credentials and production systems outside the loop.

The control map

A loop is more than a retry.

A retry repeats an operation. A trustworthy loop uses verified evidence to choose the next bounded action, records what happened, and stops when authority must return to a human.

Excalidraw diagram of the six-part QA control loop from goal to human approval
GOAL → OBSERVE → BOUNDED ACTION → VERIFY → RECORD → DECIDE Editable Excalidraw source

Verified in Chromium

The tutorial begins red and earns green.

The included project uses a synthetic login fixture. The original test asks for an obsolete accessible name. The maker may edit only the test, while the product and oracle remain sealed.

01PolicyPASS
01Target testFAIL
01Immutable oraclePASS
02PolicyPASS
02Repeated target testPASS
02Immutable oraclePASS
Controller stateAWAITING_HUMAN_APPROVAL
Synthetic login fixture used by the bounded Playwright repair loop
IMMUTABLE PRODUCT FIXTURE · SYNTHETIC DATA · NO PRODUCTION ACCESS

Build the loop. Preserve the evidence. Keep the final decision human.

Open all lessons