LabaliciousAI & QA ACADEMY
← All sessions

Open in Markdown reader

Lab 7 — Build One Durable Regression Check

Time: 35 minutes
Team: pair-programming; starter repository only

Mac / Linux / Windows

Submission: prepare the deliverables below using the public-safe packet and review workflow. One PR per lab; private review is equally available. Never publish grades or personal information.

Keep the server running in one terminal and run tests in another. Follow Lab setup for optional Playwright installation and the platform guide for Windows .cmd, Linux browser dependencies and per-shell CANDIDATE settings. Candidate A/B are runtime choices in the supplied starter, not separate Git branches. If automation installation is blocked, submit the assertion design and mark execution unverified.

See the platform guide and included local lab track.

Scenario

The local allocation dashboard can show its heading even when loading AL-01 fails. A heading-only test misses the failed record load. This exercise requires no real sign-in.

Mission

Add one small, deterministic check that proves the allocation record loaded and the expected error does not occur.

Constraints

Steps

  1. Read the existing test and acceptance criterion.
  2. Draft a short AI task brief for Codex requesting an explanation and a proposed patch.
  3. Verify the proposal; implement/revise the smallest useful check.
  4. Run it with CANDIDATE=buggy and CANDIDATE=fixed, using your shell's syntax in the platform guide. These are runtime selections, not branches. Record the same check failing A and passing B.
  5. Review the diff together.

Deliverables

If installation is blocked, the equivalent foundation submission is a precise assertion design: selector, response/status condition, expected A/B results and an explanation of why it detects the failure. Mark all execution unverified. Grade that design on reasoning, not fabricated red/green logs; record hands-on automation execution as a separate apprenticeship follow-up.

Stretch

Add a deliberately broken variant and explain why the test fails for the right reason.