Skip to content

[FEATURE]: improve e2e testing suite with tui-test #53982

Description

@cpendery

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

It seems like opencode is missing a e2e testing suite that uses a live pty. I'm the maintainer of microsoft/tui-test and would be happy to contribute support for adding a more robust test suite (github copilot cli & cline are both adopters/adopting)

Activity

  1. opencode-agent commented on Oct 8, 2026

    @opencode-agent
    Contributor

    Thanks for the offer, @cpendery. As I understand it, you'd like to contribute an end-to-end test suite built on microsoft/tui-test that runs the real opencode TUI in a pty. That would cover things the current tests can't.

    For context: on the v2 branch, the TUI tests in packages/tui/test render components in-process with snapshots and fixtures. The existing Playwright e2e suite in packages/app/e2e covers the web/desktop app. So nothing currently drives the actual binary in a real terminal.

    I didn't find an earlier request for this. Maintainers will consider it. It's probably best to wait for their go-ahead on the approach before opening a large PR.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions