Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test Plan for sticky docs in suggest widget #27315

Closed
2 tasks done
ramya-rao-a opened this issue May 26, 2017 · 0 comments
Closed
2 tasks done

Test Plan for sticky docs in suggest widget #27315

ramya-rao-a opened this issue May 26, 2017 · 0 comments
Assignees
Milestone

Comments

@ramya-rao-a
Copy link
Contributor

ramya-rao-a commented May 26, 2017

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.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants