Repository navigation
feat(qa): feature map with Playwright click and visual verification - #242
Merged
Merged
Conversation
The web app had no record of what its features are or whether each one works. qa/features.ts now lists 70 user-facing features, each with the user path, the Playwright drive steps, the observable success state and the code that implements it. qa/specs drives every one in a real browser at desktop (1440) and phone (390) widths in light and dark, against the production web build on a seeded home that uses the free Replay agent. qa/verify.ts runs it and writes qa/status.json and docs/FEATURES.md with the commit each status was proven on; a feature no spec can drive says why it is unverified. qa/check-map.ts fails when the map and the specs disagree, and in CI fails a PR that changes a feature's code without touching its entry, spec or status. The workflow runs on the ARC runner with the existing trust gate. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…val spec Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… one phone project Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…d the sidebar status-live entry Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
CI's frozen install failed with ERR_PNPM_OUTDATED_LOCKFILE because the qa importer still listed @effect/vitest and vite-plus. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- a partial run no longer rewrites status.json or docs/FEATURES.md, and a failed Playwright run exits nonzero - a visual comparison without a baseline is reported as pending, not verified - the PR gate sees renames as a delete plus an add, and a settings row edit counts as updating the settings entries - the workflow passes dispatch input and the base ref through env vars - specs assert real state: sidebar moves, command output text, model picker and terminal close, attachment removal, palette input scoped to its dialog Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…artifacts The first ARC run failed 54 of 126 runs: text had no size so headings read as hidden, and the browser closed under some runs. The latency gate in closura-arc-ci.yml already sets FONTCONFIG_FILE with a writable cache; this job now does the same and fails loudly when the image has no fonts. The artifact now includes the failure screenshots and error context. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The image has none under /usr/share/fonts; the downloaded libraries pull in fonts-dejavu-core under the job temp dir, as in the latency gate. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
On a phone the draft's composer can take focus and close the Permissions menu under the click; the sweep failed on both phone projects with a detached element. The step now retries until the button reads Supervised. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…a marked partial report verify.ts deleted every screenshot before a partial run and never wrote the report page, so the CI artifact (two projects) had screenshots and no index. It now removes only the screenshots it recreates and renders qa/report/index.html marked partial, leaving status.json and docs/FEATURES.md alone. Checked with a real --project phone-dark run: both files byte-identical, all four projects' screenshots kept. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Kameron (CLO-1299): the web app is "still super buggy and unusable", and nothing records what its features are or whether each one works. The existing
feature-map.mdnames labels and shortcuts but has no user path, drive steps, success state or verified status, andscripts/scenariosproves single bug fixes, not whole features.What this adds
qa/features.ts: 71 user-facing features (sidebar and threads, thread view, composer, panels, palette, pages, 21 settings sections, themes, environments, onboarding, boot recovery, Closura-specific ones). Each has the user path, Playwright drive steps, the observable success state and the code that implements it. Seven cannot be driven on this harness and say why (queue/steer timing, secrets, linking a second server, usage-limit banner and auto-resume, delegates, html_render, PR links).sidebar.status-live(Limited/Failed pill going stale after a provider switch) is added as unverified with the reported repro; it needs a fake provider that emits a usage_limit failure then a second run.qa/specs: one Playwright spec per feature, run in four projects (desktop 1440 and phone 390, light and dark) against the production web build on a fresh seeded home that uses the free Replay agent, with every real provider disabled. One command:node qa/verify.ts. It writesqa/status.json(verified, broken or unverified per feature, with the commit) and rendersdocs/FEATURES.mdand a screenshot report.qa/check-map.ts: fails when the map and the specs disagree, and with--changed <base>fails a PR that changes a feature's code without touching a matching entry, spec or status. Proven on a throwaway branch: a sidebar edit alone fails, the same edit plus an entry change passes..github/workflows/closura-feature-qa.yml: same trust gate and ARC runner asclosura-arc-ci.yml. A PR runs the map check plus two projects (desktop-light, phone-dark); manual runs take any list.First sweep
At 01d8b19 on a clean tree: 63 verified, 0 broken, 7 unverified of 70 (250 of 252 runs passed, 2 skipped by design). Found and fixed on the way: CLO-1310, the boot dead-end (#240, merged). Several of my own specs were wrong at first (one passed on text left by the seeded turn, one answered the seeded question and consumed its state); they were rewritten to prove what they claim.
Limits, stated plainly
T3_QA_BASE_URLplusCF_ACCESS_CLIENT_ID/SECRETonce ARC Ops adds a test policy.workflow_dispatchwithupdate_baselines). Until then visual comparisons are reported as pending, never as passing.check:changedruns againstorigin/mainby default and hangs on this fork; I ran it against the release base. format, knip and typecheck report failures that are all on the base (12 other unformatted files, two unused.github/scriptsfiles, web test type errors), none inqa/.Prior art
scripts/scenarios(e2e framework): kept for per-bug proofs; too heavy and per-bug for a whole-app feature sweep. Verdict: reuse its seeding approach, not its runner.qaworkspace entry.Searched: poteto-kit README, selfaligned.me poteto post, thakicloud pstack article, repo
scripts/scenarios, 2026-11-27.Browser proof
URL: local production build of 9fd13fa + #240 (http://127.0.0.1:, throwaway home). Time: 2026-11-27, 14:00–14:30 ET. Result: 250 passed, 0 failed, 2 skipped across desktop 1440 / phone 390 in light and dark. Screenshots:
qa/report/shots/<feature>/<project>--<name>.png(CI uploads them as thefeature-qa-reportartifact; the packed report goes to docs.closura.ai through Closura). Gaps: see Limits.Deploy: none
🤖 Generated with Claude Code