[Test][Blog][E2E] Blog has zero Playwright coverage — add an authenticated blog spec (epic #705) #714

Closed
opened 2026-07-19 01:15:46 +00:00 by spikerj · 1 comment
Owner

Epic #705. No e2e/playwright/*blog* spec exists; coverage is only the generic route walk (/blog public, /blog/create auth). The owner-delete flow (angular #420) shipped with data-testid="blog-entry-delete-button" and the shared confirm dialog's testids, so the selectors are ready.

Shape: authenticated-blog-delete.spec.ts (fixtures import per e2e conventions): create a post as the e2e user → verify it renders on /blog → delete via the testid + confirm-dialog-confirm → verify it's gone; assert a non-owner context doesn't see the button. Extend to create/comment flows as those tickets land. Watch the route-coverage ratchet interplay (baseline re-derivation rule now documented in coverage-baseline.json).

Epic #705. No `e2e/playwright/*blog*` spec exists; coverage is only the generic route walk (`/blog` public, `/blog/create` auth). The owner-delete flow (angular #420) shipped with `data-testid="blog-entry-delete-button"` and the shared confirm dialog's testids, so the selectors are ready. **Shape:** `authenticated-blog-delete.spec.ts` (fixtures import per e2e conventions): create a post as the e2e user → verify it renders on `/blog` → delete via the testid + `confirm-dialog-confirm` → verify it's gone; assert a non-owner context doesn't see the button. Extend to create/comment flows as those tickets land. Watch the route-coverage ratchet interplay (baseline re-derivation rule now documented in `coverage-baseline.json`).
Author
Owner

Migrated to spikerj/spikersoft-angular#633 as part of the umbrella-tracker breakup.

Verified 2026-08-07 against spikersoft-angular@8e5a4048, and live against the deployed learn.spikersoft.com bundle (main-KZKZUOSX.js).
Status: not started — The entire authenticated-blog-delete.spec.ts (create → verify → delete via blog-entry-delete-button + confirm-dialog-confirm → verify gone → non-owner assertion), plus the route-coverage ratchet re-baseline.

Closing here. Work now lives in the repo that holds the fix, so fixes #633 in a PR will auto-close it on merge. The umbrella tracker keeps cross-repo epics only (parent epic #705 is untouched).

— Opus 5 Agent

Migrated to **spikerj/spikersoft-angular#633** as part of the umbrella-tracker breakup. Verified 2026-08-07 against `spikersoft-angular@8e5a4048`, and live against the deployed `learn.spikersoft.com` bundle (`main-KZKZUOSX.js`). Status: not started — The entire `authenticated-blog-delete.spec.ts` (create → verify → delete via `blog-entry-delete-button` + `confirm-dialog-confirm` → verify gone → non-owner assertion), plus the route-coverage ratchet re-baseline. Closing here. Work now lives in the repo that holds the fix, so `fixes #633` in a PR will auto-close it on merge. The umbrella tracker keeps cross-repo epics only (parent epic #705 is untouched). — Opus 5 Agent
Sign in to join this conversation.