Skip to content

[QA v1.1.0 / 2026-03-14] R-D Bind to Destination #430

@couimet

Description

@couimet

Test cases for R-D Bind to Destination — QA cycle v1.1.0 — 2026-03-14

  • bind-to-destination-001 — Cmd+R Cmd+D opens destination picker showing terminals, files, and AI assistants
    • Pre: Extension installed
    • Pre: At least one terminal and one file are open
    • Step 1: Press Cmd+R Cmd+D
    • Expected: A destination picker QuickPick opens listing terminals, open text files, and AI assistants.
  • bind-to-destination-002 — Ctrl+R Ctrl+D opens the destination picker
    • Pre: Extension installed
    • Pre: At least one terminal and one file are open
    • Step 1: Press Ctrl+R Ctrl+D
    • Expected: A destination picker QuickPick opens listing terminals, open text files, and AI assistants.
  • bind-to-destination-003 — RangeLink: Bind to Destination in Command Palette opens destination picker
    • Pre: Extension installed
    • Step 1: Open Command Palette (Cmd+Shift+P / Ctrl+Shift+P)
    • Step 2: Type 'Bind to Destination' and select 'RangeLink: Bind to Destination'
    • Expected: Same destination picker opens as the R-D keybinding.
  • bind-to-destination-004 — Selecting a terminal destination binds it and shows success toast
    • Pre: At least one terminal open
    • Pre: No binding active
    • Step 1: Open R-D picker
    • Step 2: Select a terminal from the list
    • Expected: The terminal is bound. A success toast appears (e.g., 'Bound to Terminal').
  • bind-to-destination-005 — Selecting a text editor destination binds it and shows success toast
    • Pre: At least two editor tabs open
    • Pre: No binding active
    • Step 1: Open R-D picker
    • Step 2: Select a text file from the list
    • Expected: The selected file becomes the bound destination. Success toast appears.
  • bind-to-destination-006 — Selecting an AI assistant destination binds it and shows success toast
    • Pre: A supported AI assistant extension is installed and active (Claude Code, Copilot Chat)
    • Step 1: Open R-D picker
    • Step 2: Select the AI assistant entry from the list
    • Expected: AI assistant is now the bound destination. Success toast appears.
  • bind-to-destination-007 — When already bound, destination picker shows smart-bind confirmation dialog
    • Pre: A destination is already bound
    • Step 1: Open R-D picker
    • Step 2: Select a different terminal or file
    • Expected: A confirmation dialog appears showing the current binding name and the proposed new binding name, with 'Yes, replace' and 'No, keep current' options.
  • bind-to-destination-008 — Smart-bind confirmation Yes replaces switches the binding to the new destination
    • Pre: Destination A already bound
    • Pre: Smart-bind confirmation dialog is showing (run TC-016 steps first)
    • Step 1: Click 'Yes, replace' (or equivalent) in the confirmation dialog
    • Expected: Binding switches to the newly selected destination. Success toast confirms the new binding.
  • bind-to-destination-009 — Smart-bind confirmation No keep retains the existing binding
    • Pre: Destination A already bound
    • Pre: Smart-bind confirmation dialog is showing (run TC-016 steps first)
    • Step 1: Click 'No, keep current' (or equivalent) in the confirmation dialog
    • Expected: Original binding is preserved. No binding change occurs. Neutral info notification (if any).
  • bind-to-destination-010 — Escape from destination picker dismisses without changing binding
    • Pre: Any binding state (bound or unbound)
    • Step 1: Open R-D picker
    • Step 2: Press Escape without selecting anything
    • Expected: Picker closes. Binding state is unchanged.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions