Skip to content

Test Plan for sticky docs in suggest widget #27315

Closed

Description

Test Plan for #18582

Complexity: 4

Bring up the suggest widget and test both the collapsed and the expanded docs view.

Hit Ctrl+Space (or the "info" icon) to expand the docs. The docs should remain expanded between editor, editor groups, and reloading of VS Code unless you hit Ctrl+Space again or click the close button in the docs.

Test the suggest widget (expanded and collapsed) with cursor at various extremes like very top, very bottom, very much towards the right of the VS Code window in the each of the below scenarios

  • Single editor group.
  • Multiple editor group horizontal layout
  • Multiple editor group Vertical layout
  • Zoom in and out
  • very small VS Code window

Each time, the list should appear as close as possible to the cursor.
If not enough space to the right, then the docs and list get swapped.
If not enough space in VS Code window, then docs go below the list

Keyboard Accessibility

  • Assign keybindings to the commands "selectFirstSuggestion" and "selectLastSuggestion"
  • Page Up, Page Down and the above 2 commands should work on the list
  • Ctrl+Alt+Space moves focus to the expanded docs. (try this on a completion item that has huge docs) Now the above 4 commands should work on the docs
  • Ctrl+Alt+Space moves focus back to the list

Screenreader

  • In the collapsed view, moving though the list should result in reading of the label of the completion item + indication that there is more details
  • In the expanded view, moving through the list should result in reading the label and the docs both.

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions