Added Playwright e2e tests and an e2e CI job #10
All Vouch review confidence checks passed
Residual risk 0.25 = Change Risk (0.48) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.48 · 516 lines diff across 6 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.374
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #10"
general
weight: 0.35
claude[bot]
Summary
WatchBoardserver stream, which no unit or integration test reached so far.taskboard.db.e2ewith the Playwright HTML report as an artifact.Changes
API
Program.cs: opt-inDatabase:MigrateOnStartup(off by default) that applies the EF Core migrations at startup. Only the e2e run turns it on, because it starts from an empty SQLite file. Dev/prod keep usingdotnet ef database update; the xUnit tests keepEnsureCreated.Client
environment.e2e.ts(API on :5180) and thee2ebuild/serve configuration inangular.json.@playwright/test1.64.1,npm run e2e.Tests (
client/taskboard-web/e2e/)start-api.mjs: deletese2e.dband runs the API in Release on :5180 with CORS for :4300. It uses Release because a running dev API locksbin/Debugon Windows.playwright.config.ts: twowebServers (API +ng serve --configuration e2e --port 4300), Chromium only, 1 retry with trace in CI.support.ts: unique names (the tests share one DB and run in parallel), REST setup through JSON transcoding,openBoard(waits for the "Live" status),dragCard.boards.spec.ts,tasks.spec.ts,live-updates.spec.ts.Tooling
ci.yml:e2ejob (Playwright browser install, Release build,npx playwright test, report artifact uploaded even when tests fail)..mcp.json: Playwright MCP server (cmd /c npx, so it works on Windows only)..gitignore: Playwright output and.playwright-mcp/.CLAUDE.md, clientREADME.md: e2e commands, ports, pitfalls.How to test
npm start:4200) are running: still green, andtaskboard.dbis unchanged.e2ejob is green and theplaywright-reportartifact opens.AI assistance
locator.dragTodoes not trigger CDK drag-drop, sodragCarduses manual mouse steps.BoardEvent.subscribed), which the author approved. An independent check in plain Playwright Chromium showed the old code going "Live" in ~280 ms: the MCP browser buffers streaming responses. The change was reverted completely, and the pitfall is documented inCLAUDE.md.test-engineerwrote the specs from a detailed brief. It found a real race on its own: the optimistic move had already re-rendered the card whileUpdateTaskItemwas still in flight, andpage.reload()aborted it. The test now waits for the response.proto-codegenregenerated the TS clients automatically during the (later reverted) proto change.-
npx playwright test: 3/3, twice, each run on a fresh DB.-
--repeat-each=5: 15/15.- Red check: with the
watchBoardcall disabled,live-updates.spec.tsfails.- Karma: 61/61 (it does not pick up
e2e/).-
dotnet test: 107/107 with theMigrateOnStartupchange.- A full run while the dev servers were up left
taskboard.dbuntouched.🤖 Generated with Claude Code