Skip to content

test(dismissal): verify the dialog-manager friction contract (Esc + click-outside)#93

Merged
mvalancy merged 1 commit into
devfrom
test/overlay-dismissal
Jun 17, 2026
Merged

test(dismissal): verify the dialog-manager friction contract (Esc + click-outside)#93
mvalancy merged 1 commit into
devfrom
test/overlay-dismissal

Conversation

@mvalancy

Copy link
Copy Markdown
Member

What

A second missing test category: overlay dismissal. The dialog manager (hooks/useDialogManager.ts) documents a friction contract — "Escape always closes the top-most dialog; click-outside closes; users never hunt for X buttons" — that had no e2e coverage. This @dismissal suite keeps every overlay honest about closing.

Coverage

  • Escape closes: work-item details modal, create-work-item modal, create-graph modal
  • Click-outside closes: work-item details modal (backdrop), graph-selector dropdown, user-menu dropdown, settings visual-quality dropdown

No source changes — every overlay already honors the contract; this locks it in so a regression (a dropdown/modal that won't dismiss — exactly the friction users notice) fails CI.

Verification

  • tests/e2e/overlay-dismissal.spec.ts — 7/7 pass on local dev.

🤖 Generated with Claude Code

New @DiSmiSSaL suite asserts the contract documented in useDialogManager.ts:
Escape closes the top-most dialog and click-outside closes the overlay, for
the work-item details / create-work-item / create-graph modals and the graph-
selector, user-menu, and settings visual-quality dropdowns. No source changes;
all overlays already honor the contract.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

🧪 Comprehensive Test Suite

  • Unit suites (Node 18.x & 20.x) — core, web, server, mcp-server: ✅ passed
  • Installer & deploy config: ✅ passed

Full-stack smoke gate runs in the CI workflow.

@mvalancy mvalancy merged commit 9cae2d9 into dev Jun 17, 2026
14 of 16 checks passed
@mvalancy mvalancy deleted the test/overlay-dismissal branch June 17, 2026 07:33
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