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 Item: Outdated and reload required extensions pushed to top of default installed extensions view #161806

Closed
2 tasks done
benibenj opened this issue Sep 26, 2022 · 0 comments
Closed
2 tasks done

Comments

@benibenj
Copy link
Contributor

benibenj commented Sep 26, 2022

Refs: #159889

Complexity: 3

Authors: @sandy081

Create Issue


Extensions which require an action (reload and update) are pushed to the top of the default installed view. We give the option to the user to ignore updates which will not push the extension to the top anymore and won't count as an extension requiring action for the badge count.

  1. Change the version of an activated extension to an outdated version (use the gear icon in the extension list and pick Install Another Version... and pick an older version).
  2. Outdated extensions should show the Update split button as well as reload button. As we manually set the version to an outdated one, we automatically start ignoring any updates for those extensions. To confirm, click dropdown of the Update button, and check that the Ignore Updates option is checked. Also confirm that the extension activity bar icon shows a 1 for this extension, due to the Reload Required button.
  3. Reload the workbench. The extension should now only have the Update split button. It should not be sorted to the top nor should there be any number badge in the extension activity bar icon due to it.
  4. Uncheck Ignore updates in the install dropdown for all outdated extensions. Notice the new 1 badge in the extensions activity bar icon.
  5. Refresh the extension view. The outdated extension should be at the top of the default installed view. The badge should still be showing the 1 indicator.
  6. Turn on Ignore Updates once more. Notice the 1 is gone.
  7. Refresh the extension view. Sort order should go back to normal.
  8. Play around with changing extension versions and make extensions require updates.

The following should always hold after refreshing the default installed view. The view should display all outdated extensions at the top which do not have ignore updates set. Then all reload required extensions are listed and afterwards all other extensions. Extensions which are outdated but have ignore updates set should be in the default sort order and not pushed to the top. (alphabetically)

Test the same scenario across multiple extensions simultaneously.

@benibenj benibenj added this to the September 2022 milestone Sep 26, 2022
@ghost ghost assigned gregvanl and joaomoreno Sep 27, 2022
@joaomoreno joaomoreno removed their assignment Sep 27, 2022
@gregvanl gregvanl removed their assignment Sep 27, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Nov 12, 2022
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