test(documents): timeline density Playwright coverage #480
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Context
Spun out of PR #478 (issue #385). Sara's QA review and Elicit's requirements review both flagged that the user-facing claim of issue #385 — click-to-filter, drag-to-zoom-and-filter, reset-zoom, mobile/calendar hide — has zero Playwright proof against a real backend. The component-level specs synthesise PointerEvents but do not exercise the document-level
pointermovelistener path that the implementation uses for off-bar drags.Acceptance criteria
frontend/e2e/documents-timeline.spec.tsexists and runs in CI.from/to.from/toANDzoomFrom/zoomToin a single navigation.from/to) and dropszoomFrom/zoomTofrom the URL.Jan Feb Mär….?view=calendarhides the widget regardless of viewport.Notes for the implementer
frontend/e2e/already has Playwright + the dev-stack spin-up.page.mouse.down()→page.mouse.move()→page.mouse.up()so off-bar movement is covered.Related
feat(documents): keyboard-accessible range zoom for timeline