Skip to content

test(e2e): kanban + calendar object-view regression guards (#2059) - #2109

Merged
rubenvdlinde merged 1 commit into
developmentfrom
wip/e2e-object-views
Jul 25, 2026
Merged

test(e2e): kanban + calendar object-view regression guards (#2059)#2109
rubenvdlinde merged 1 commit into
developmentfrom
wip/e2e-object-views

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

Adds the e2e regression coverage for the kanban/calendar object views (shipped in #2063/#2098), both tagged @e2e openspec/specs/saved-search-views/spec.md so hydra-gate-e2e-coverage flags any future change to the REQ-VIEW-* scenarios.

  • api-direct/search-views-presentation.spec.ts — REST contract: presentation persistence round-trip, GET /views/:id/kanban board shape (columns in columnOrder + cards), the guarded object-write path driving a kanban 'move', GET /views/:id/calendar range query, and rejection of an unrenderable groupByField.
  • spec-coverage/object-views-kanban-calendar.spec.ts — genuine browser render: seeds data + kanban/calendar views, activates each via the store-injection technique, and asserts CnObjectKanban paints columns/cards and CnObjectCalendar plots objects by date with zero OR-origin console errors. Guards the runtime-render class the mocked jest unit tests can't catch.

Both parse under playwright test --list; the behaviour was live-verified in a disposable NC34+Postgres container during phase 2b. (Note: openregister's CI does not currently enable-playwright, so these run on-demand / via the e2e-coverage gate rather than the automated playwright job — matching the repo's existing api-direct convention.)

Two @e2e-tagged specs for openspec/specs/saved-search-views/spec.md:
- api-direct/search-views-presentation.spec.ts — REST contract: presentation
  persistence round-trip, GET /views/:id/kanban board shape (columns in
  columnOrder + cards), guarded object-write 'move', GET /views/:id/calendar
  range query, and rejection of an unrenderable groupByField.
- spec-coverage/object-views-kanban-calendar.spec.ts — genuine browser render:
  seeds a register/schema/objects + kanban & calendar views, activates each via
  the store-injection technique (walks the Vue tree to SearchIndex, calls
  viewsStore.setActiveView, awaits nextTick), asserts CnObjectKanban paints
  columns/cards and CnObjectCalendar plots objects on their dueDate, with zero
  OR-origin console errors (core-NC noise filtered). Guards the runtime-render
  class the mocked jest unit tests cannot catch.

Satisfies hydra-gate-e2e-coverage for the REQ-VIEW-* scenarios. Behaviour was
live-verified in a disposable NC34+Postgres container during phase 2b.
@rubenvdlinde
rubenvdlinde merged commit 37a5b3d into development Jul 25, 2026
15 of 17 checks passed
@rubenvdlinde
rubenvdlinde deleted the wip/e2e-object-views branch July 25, 2026 10:13
@github-actions

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/openregister @ fac343d

Check PHP Vue Security License Tests
lint
phpcs
phpmd
psalm
phpstan
phpmetrics
eslint
stylelint
composer ✅ 174/174
npm ✅ 555/555
PHPUnit
Newman
Playwright ⏭️

Quality workflow — 2026-07-25 10:20 UTC

Download the full PDF report from the workflow artifacts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant