You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Related to: Issue #208 (Comprehensive Test Coverage) Test Files: merge-nodes.command.test.ts (8), slash-command-integration.test.ts (6) Failures: 14 tests total
Problem
Command keyboard handlers and slash command dropdown failing across execution, filtering, and selection scenarios.
Failing Tests
Merge Nodes Command (8 tests)
should execute for Backspace at start of node
should not execute for Backspace in middle of node
should not execute for non-Backspace keys
should execute for multiline node at start of first line
should not execute for multiline node not at position 0
should delete empty node
should combine with previous node
should not execute (not yet implemented)
Slash Command Integration (6 tests)
should display slash command dropdown when typing "/"
should filter commands based on query text
should close dropdown after Enter key selection (proves callback is wired)
should close dropdown after mouse click selection (proves callback is wired)
should close dropdown on Escape without triggering selection
should navigate through commands with arrow keys
Acceptance Criteria
All 14 tests pass
Merge nodes command executes correctly for Backspace at start
Slash dropdown displays and filters commands
Selection callbacks wired correctly
Quality checks pass: bun run quality:fix
Testing
bun run test src/tests/commands/keyboard/merge-nodes.command.test.ts
bun run test src/tests/integration/slash-command-integration.test.ts
Activity
Fix web mode and refactor: origin_id → container_id terminology
malibio commentedon Oct 17, 2025
✅ All command integration tests passing after #274 textarea migration.
The keyboard command tests have been updated for the textarea API and are all passing:
All slash command integration tests were in deleted files specific to contenteditable.
Current status: 813/814 tests passing (99.9%)
Fix web mode and refactor: origin_id → container_id terminology
Fix web mode and refactor: origin_id → container_id terminology
Fix web mode and refactor: origin_id → container_id terminology