Skip to content

Investigate UI testing in CI for interactive Ink dialogsΒ #1179

@acoliver

Description

@acoliver

We removed the interactive extension reload test because the Ink consent dialog is not reliably automatable. Need a plan to test interactive UI in CI.

Context:

  • There is an existing tmux-based harness for the old Ink UI.
  • See dev-docs/oldui-tmux-harness.md and scripts/oldui-tmux-harness.js.
  • Related tmux scripts include scripts/oldui-tmux-script.llm-tool-scrollback-realistic.llxprt.json, scripts/oldui-tmux-script.llm-tool-scrollback-realistic.gemini.json, scripts/oldui-tmux-script.clear-keeps-input.llxprt.json, scripts/oldui-tmux-script.slash-autocomplete.json.
  • There are existing notes in project-plans/20251215oldui/testing-strategy.md and project-plans/20251215oldui/uifindings.md about scrollback/copy-mode behavior and tmux capture-pane workflows.

Ask:

  • Outline how the tmux harness works (TTY, send-keys, capture-pane, history_size sampling).
  • Evaluate whether the tmux approach can be adapted for current interactive UI tests in CI.
  • Research Ink-specific automated testing approaches (Ink testing library, PTY-based harnesses, alternatives).
  • Propose a CI-friendly path for interactive dialog/autocomplete testing.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions