claude-memory/graph/workflows/workflow-tui-testing-with-mcp-tui-driver-in-claude-code-1177d1.md
2026-03-01 18:38:40 -06:00

2.5 KiB

id type title tags importance confidence created updated relations
1177d1f5-6df7-42ae-beef-bbd6b22d2fae workflow Workflow: TUI testing with mcp-tui-driver in Claude Code
mcp
tui-testing
documentation
claude-home
workflow
development
0.6 0.8 2026-03-02T00:38:21.757641+00:00 2026-03-02T00:38:40.739932+00:00
target type direction strength edge_id
62ee21e8-2b56-4d38-a73d-47e2724f08c6 RELATED_TO outgoing 0.71 cc037348-44c5-467e-a9f1-8866bd4773c2
target type direction strength edge_id
8e2d1904-24e0-41df-95f2-2edc4407b9f3 RELATED_TO outgoing 0.76 e90568a0-c9d3-47a8-9a67-7c26fe7644fa
target type direction strength edge_id
a8f740ab-872b-4d2a-b652-c541a4519cb4 RELATED_TO outgoing 0.74 6a426497-2855-44a4-83c6-4e8c3e724fbb
target type direction strength edge_id
967ad46d-ba89-4207-b870-db4b8558f2bb CAUSES incoming 0.8 a3078299-6baa-46a4-9d52-aa814b23dace
target type direction strength edge_id
230a1d01-d47b-46ee-91f1-7388e3255b19 CAUSES incoming 0.7 16da3c73-9895-4147-943a-d41786178394
target type direction strength edge_id
21be13ae-c01b-4bf1-917a-9e1ef18312a8 RELATED_TO outgoing 0.5 9af73e88-2f70-4109-99f9-bc2214d2a566

TUI Testing Workflow with mcp-tui-driver

Context

Documentation added to development/tui-testing.md in the claude-home repo. Context loading trigger added to CLAUDE.md.

Context Loading Trigger

Keywords: tui testing, mcp-tui-driver, tui automation, terminal ui test Loads: development/tui-testing.md

Typical Testing Workflow

  1. Launchtui_launch to start the TUI app in a managed session
  2. Waittui_wait_for_idle or tui_wait_for_text until app is ready
  3. Inspecttui_snapshot (accessibility tree) or tui_text (raw text) to read state
  4. Interacttui_press_key, tui_send_text, tui_click to drive the UI
  5. Asserttui_screenshot for visual verification or check tui_text output
  6. Cleanuptui_close to terminate the session

Key Concepts

  • Accessibility snapshots — structured element tree with references, preferred over raw text matching
  • Multi-session — can run multiple TUI apps simultaneously for integration tests
  • Asciicast recording — can record sessions for replay/debugging
  • JS scriptingtui_run_code for complex programmatic interactions

File Location

/mnt/NV2/Development/claude-home/development/tui-testing.md