Repository: vscode
Issue: Test: GitHub - hover details provider
Labels: testplan-item

Refs: https://github.com/microsoft/vscode/issues/237436

- [x] anyOS @legomushroom
- [x] anyOS @sandy081

Complexity: 4


[Create Issue](https://github.com/microsoft/vscode/issues/new?body=Testing+%23238852%0A%0A&assignees=lszomoru)

---

This milestone we have enabled extensions (ex: GitHub) to enrich the commit hover that is shown in the Timeline view, Source Control Graph view and git blame. The GitHub extension is resolving issue/PR links as well as provides the commit author avatar. 

### Prerequisites
* Install latest version of VS Code Insiders
* Enable the following settings:
    * `github.showAvatar`    
    * `git.blame.editorDecoration.enabled`
    * `git.blame.statusBarItem.enabled`

### Timeline view
* Open a folder/workspace that contains a git repository hosted on GitHub. A perfect candidate is the `microsoft/vscode` repository as all commits into `main` are being done using the pull request workflow.
* Open a file, and open the Timeline view
* Ensure that the "Git History" items are shown in the Timeline view 
* Hover over various "Git History" items
    * Confirm that issue/PR links appear as links in the hover
    * Confirm that clicking the link opens the correct artifact in the browser
    * Confirm that the commit author avatar is being rendered

### Source Control Graph view
* Open a folder/workspace that contains a git repository hosted on GitHub. A perfect candidate is the `microsoft/vscode` repository as all commits into `main` are being done using the pull request workflow.
* Open the Source Control Graph view
* Hover over various history items in the graph
    * Confirm that issue/PR links appear as links in the hover
    * Confirm that clicking the link opens the correct artifact in the browser
    * Confirm that the commit author avatar is being rendered

### Git Blame
* Open a folder/workspace that contains a git repository hosted on GitHub. A perfect candidate is the `microsoft/vscode` repository as all commits into `main` are being done using the pull request workflow.
* Open a file and navigate around the file
* Hover over the editor decoration
    * Confirm that issue/PR links appear as links in the hover
    * Confirm that clicking the link opens the correct artifact in the browser
    * Confirm that the commit author avatar is being rendered
* Hover over the status bar item
    * Confirm that issue/PR links appear as links in the hover
    * Confirm that clicking the link opens the correct artifact in the browser
    * Confirm that the commit author avatar is being rendered

### Non-GitHub Repository
* Open a folder/workspace that contains a git repository not hosted on GitHub (you can either open a repository hosted on Azure Repos, or run `git init` to create a repository that has not been published to a remote)
* Add a new file, add contents to it, and create a commit with a message that contains a string that looks like an issue/PR reference (ex: #12345) 
* Open the Timeline view, and hover over the "Git History" item    
    * Confirm that the `#12345` string is not rendered as a link
    * Confirm that the user avatar is not being rendered 
* Open the Source Control Graph view, and hover over the history item
    * Confirm that the `#12345` string is not rendered as a link
    * Confirm that the user avatar is not being rendered 
* Open the file, navigate around the file to reveal the git blame editor decoration and status bar item
* Hover over the editor decoration
    * Confirm that the `#12345` string is not rendered as a link
    * Confirm that the user avatar is not being rendered 
* Hover over the status bar item
    * Confirm that the `#12345` string is not rendered as a link
    * Confirm that the user avatar is not being rendered

### Avatar setting
* Open a folder/workspace that contains a git repository hosted on GitHub. A perfect candidate is the `microsoft/vscode` repository as all commits into `main` are being done using the pull request workflow.
* Open the settings editor and disable the `github.showAvatar` setting
* Open the Timeline view, and hover over the "Git History" item    
    * Confirm that the commit author avatar is not shown
* Open the Source Control Graph view, and hover over the history item
    * Confirm that the commit author avatar is not shown
* Open the file, navigate around the file to reveal the git blame editor decoration and status bar item
* Hover over the editor decoration
    * Confirm that the commit author avatar is not shown
* Hover over the status bar item
    * Confirm that the commit author avatar is not shown