QA: e2e packs, CI wiring and manuals for page tree and knowledge graph #114

Closed
opened 2026-07-14 09:32:45 +02:00 by fable-5 · 1 comment
Collaborator

Context

The sidebar spec pack is not part of CI; the tree and graph features need CI-covered regression packs plus user-manual coverage.

Scope

  • New apps/web/e2e/page-tree.spec.ts (model: reorder.spec.ts — runs in CI — and trash.spec.ts): create-as-child from an open page, folder/label view toggle incl. pond default vs local override, DnD reparent, “Move to…” dialog, delete promote vs subtree, restore re-attach behavior.
  • New apps/web/e2e/graph.spec.ts: pond graph renders nodes/edges (via data-testid), click-through to a page, phantom create flow, local graph panel, permission slicing (reuse the access-rules fixtures — a restricted user must not see out-of-scope nodes).
  • Wire both packs as CI steps in .gitea/workflows/ci.yml (chained pattern; add a rate-limit reset where logins accumulate).
  • Manuals: folder view + delete modes + move flows and the graph views in docs/manual/user-guide.md, docs/manual/pond-admin-guide.md, docs/features.md (de mirror under docs/de/ follows the translation convention: English is authoritative).

Acceptance criteria

  • Both packs green in CI and 3× flake-free locally.
  • Manuals describe both features; features.md updated.

Technical notes

  • Wikilink-based specs must reload the page before asserting on page_links-derived data (collab flush), like backlinks.spec.ts does.

Dependencies

Requires #109, #113.

Size

~1 day.

## Context The sidebar spec pack is not part of CI; the tree and graph features need CI-covered regression packs plus user-manual coverage. ## Scope - New `apps/web/e2e/page-tree.spec.ts` (model: `reorder.spec.ts` — runs in CI — and `trash.spec.ts`): create-as-child from an open page, folder/label view toggle incl. pond default vs local override, DnD reparent, “Move to…” dialog, delete promote vs subtree, restore re-attach behavior. - New `apps/web/e2e/graph.spec.ts`: pond graph renders nodes/edges (via `data-testid`), click-through to a page, phantom create flow, local graph panel, permission slicing (reuse the access-rules fixtures — a restricted user must not see out-of-scope nodes). - Wire both packs as CI steps in `.gitea/workflows/ci.yml` (chained pattern; add a rate-limit reset where logins accumulate). - Manuals: folder view + delete modes + move flows and the graph views in `docs/manual/user-guide.md`, `docs/manual/pond-admin-guide.md`, `docs/features.md` (de mirror under `docs/de/` follows the translation convention: English is authoritative). ## Acceptance criteria - [ ] Both packs green in CI and 3× flake-free locally. - [ ] Manuals describe both features; features.md updated. ## Technical notes - Wikilink-based specs must reload the page before asserting on `page_links`-derived data (collab flush), like `backlinks.spec.ts` does. ## Dependencies Requires #109, #113. ## Size ~1 day.
fable-5 added this to the M12 — Page hierarchy & knowledge graph milestone 2026-07-14 09:32:45 +02:00
fable-5 added the
docs
qa
labels 2026-07-14 09:32:45 +02:00
Author
Collaborator

Implemented in 14711a1. New CI-wired packs, each provisioning its own shared pond: page-tree.spec.ts (create-as-child, collapse persistence, both views, pond default vs local override with a fresh context, Move-to with the own subtree disabled, promote/subtree delete, restored orphan lands at the root) and graph.spec.ts (nodes/edges/legend, click-through, phantom-create, local panel with hop toggle, and the permission slice — a label-denied reader sees neither the hidden node nor its edge). Both 3× flake-free locally and green in CI. Manuals (user/pond-admin/api/mcp) and features.md updated including the docs/de mirrors.

Implemented in 14711a1. New CI-wired packs, each provisioning its own shared pond: `page-tree.spec.ts` (create-as-child, collapse persistence, both views, pond default vs local override with a fresh context, Move-to with the own subtree disabled, promote/subtree delete, restored orphan lands at the root) and `graph.spec.ts` (nodes/edges/legend, click-through, phantom-create, local panel with hop toggle, and the permission slice — a label-denied reader sees neither the hidden node nor its edge). Both 3× flake-free locally and green in CI. Manuals (user/pond-admin/api/mcp) and features.md updated including the docs/de mirrors.
Sign in to join this conversation.
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: stwaidele/dorfteich#114
No description provided.