TST-25: Add opt-in headed manual-audit Playwright pack#474
Conversation
Covers the core Home -> Inbox/Capture -> Review -> Board loop with numbered screenshots at each milestone, plus advanced checks (command palette, capture hotkey, board/filter lifecycle) and an opt-in live LLM provider probe gated behind TASKDECK_RUN_LIVE_LLM_TESTS.
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Add testIgnore for manual-audit.spec.ts in playwright.config.ts so the default `npm run test:e2e` (CI gate) does not pick up the slow- motion audit pack. The dedicated npm script targets the file explicitly, bypassing testIgnore. Remove unused env-var skip guard in favour of config-level exclusion.
Self-review findingsSelectors verified against existing specsAll test selectors in
Playwright config change is non-breakingOnly added npm script works correctly
Screenshots at useful points18 screenshots covering: Home landing, Inbox with capture, Inbox detail pre-triage, Review proposal, Review approved/applied, Board with card, Card provenance, Command palette, Capture modal, Filter panel, LLM states. Live-provider opt-in properly gatedUses No issues foundAll selectors realistic, config non-breaking, CI excluded, screenshots useful. |
Fresh Adversarial ReviewCritical Issues1. The PR adds This means Fix applied: Removed Minor Issues2. CRLF line-ending pollution in The diff shows ~40 lines changed in Fix applied: Reverted 3. The global 4. Doc inaccuracy in MANUAL_AUDIT_PACK.md The "CI Exclusion" section stated the file is excluded via Observations
VerdictOne critical bug (the pack literally cannot run), one cosmetic diff-noise issue, and a minor doc inaccuracy. All three are fixed in the follow-up commit pushed to this branch. |
Playwright's testIgnore applies even when files are passed as explicit CLI arguments, so the npm script always found zero tests. Replace with TASKDECK_RUN_AUDIT env var gate on each describe block (matching the existing stakeholder-demo and live-llm patterns). The npm script sets the env var automatically via a cross-platform node wrapper. Also reverts CRLF line-ending noise in playwright.config.ts and updates MANUAL_AUDIT_PACK.md to reflect the actual CI exclusion mechanism.
Summary
Closes #369
tests/e2e/manual-audit.spec.tscovering the coreHome -> Inbox/Capture -> Review -> Boardloop with numbered screenshots at each milestone, plus advanced checks (command palette, capture hotkey, board/filter lifecycle) and an opt-in live LLM provider probetest:e2e:audit:headednpm script to use the new dedicated audit specdocs/testing/MANUAL_AUDIT_PACK.mddocumenting when to use vs stakeholder demo recorder vs default smokeDesign decisions
TASKDECK_RUN_LIVE_LLM_TESTS=1env varregisterAndAttachSessionauth pattern — no demo seed requiredTest plan
npm run test:e2e:audit:headedlocally with backend runningTASKDECK_RUN_LIVE_LLM_TESTS=1 npm run test:e2e:audit:headedruns LLM probe (requires configured provider)npm run test:e2eis unaffected