test(smoke): dossier page smoke guard — assert HTTP 200 + #prab-dossier + no fatal (v1.2.0) #14
Reference in New Issue
Block a user
Delete Branch "claude/phase2-admin-m2-20260612"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Adds dossier page smoke test to
03-admin-plugins.spec.ts(WP Admin — PRAutoBlogger Article Dossier).Guards against:
#prab-dossiercontainer: template regression guard.prab-stage-sectionmust render when run data existsAssertions: HTTP 200 +
#prab-dossiervisible + no "Invalid plugin page" + no "Fatal error". Stage sections conditional (pre-substrate posts get graceful empty state, not a failure).npx playwright test --list→ 24 tests (was 23). New test at line 185.Why
Binding 3 from go-order
16-cto-m2-go-order.md: peptide-e2e dossier smoke in the same milestone as PRAutoBlogger v0.19.2. Companion: peptiderepo/prautoblogger#158.Risk
Low. Read-only page test. Defensive: tries staging posts 925/930, falls back to most recent post, falls back to post_id=0 (graceful empty state). All paths terminate with
#prab-dossierassertion.Test plan
npx playwright test --list— 24 tests, TypeScript compiles03-admin-plugins.spec.ts:185— dossier page loads and dossier container is presentConvo thread
prautoblogger/threads/2026-06-pipeline-v2-phase2-admin/seq 18