Skip to content

test(tui): end-to-end test of /logout confirm, sign-out and provider reload #1887

Todo

Description

@sahrizvi

/logout (#1845) is covered by unit tests of packages/tui/src/util/logout-target.ts, but logoutCurrentProvider in packages/tui/src/app.tsx is not tested: the confirm dialog, the gateway / Altimate Base / auth.remove branches, the provider reload it waits for (10 s, polling every 100 ms), and the toasts.

Add a TUI test that drives /logout for: an OpenAI ChatGPT login, an API-key login, the Altimate gateway, a provider kept connected by an environment variable, and a reload that times out.

Found during the v0.12.13 release review.

Activity

  1. self-assigned this
    on Dec 3, 2026
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