Skip to content

test(tui): await dialog text selection - #46143

Open
opencode-agent[bot] wants to merge 1 commit into
v2from
dialog-selection
Open

test(tui): await dialog text selection#46143
opencode-agent[bot] wants to merge 1 commit into
v2from
dialog-selection

Conversation

@opencode-agent

Copy link
Copy Markdown
Contributor

What

Stabilize the dialog selection test that intermittently observed an empty selection on Windows CI.

How

Wait for OpenTUI to expose the selected text after the synthetic double-click before asserting and sending Ctrl+C. The test previously assumed input dispatch and selection state updated synchronously.

Testing

  • targeted test: 100 consecutive passes
  • complete dialog-select test file: 30 consecutive passes
  • bun run test in packages/tui: 989 passed, 4 skipped
  • bun typecheck in packages/tui

Requested by: @kitlangton (Kit via Slack)

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant