Skip to content

Only dismiss the welcome dialog in sanity tests if it is shown#311702

Merged
dmitrivMS merged 7 commits intomainfrom
dev/dmitriv/sanity-test-fixes
Apr 23, 2026
Merged

Only dismiss the welcome dialog in sanity tests if it is shown#311702
dmitrivMS merged 7 commits intomainfrom
dev/dmitriv/sanity-test-fixes

Conversation

@dmitrivMS
Copy link
Copy Markdown
Contributor

Co-authored-by: Copilot copilot@github.com

Co-authored-by: Copilot <copilot@github.com>
Copilot AI review requested due to automatic review settings April 21, 2026 15:39
@dmitrivMS dmitrivMS added the engineering VS Code - Build / issue tracking / etc. label Apr 21, 2026
@dmitrivMS dmitrivMS self-assigned this Apr 21, 2026
@dmitrivMS dmitrivMS enabled auto-merge (squash) April 21, 2026 15:39
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates sanity UI tests to avoid blocking on the welcome dialog by making dismissal conditional, and simplifies UITest.run call sites accordingly.

Changes:

  • Remove the skipWelcome parameter from UITest.run and update callers.
  • Update dismissWelcomeDialog to proceed when the welcome dialog is not shown (via a timeout-based check).
  • Adjust WSL and Dev Tunnel sanity tests to call run without the extra flag.
Show a summary per file
File Description
test/sanity/src/uiTest.ts Makes welcome dialog dismissal conditional and simplifies UITest.run signature.
test/sanity/src/wsl.test.ts Updates the WSL sanity test to use the new UITest.run(page) signature.
test/sanity/src/devTunnel.test.ts Updates the Dev Tunnel sanity test to use the new UITest.run(page) signature.

Copilot's findings

  • Files reviewed: 3/3 changed files
  • Comments generated: 1

Comment thread test/sanity/src/uiTest.ts
mjbvz
mjbvz previously approved these changes Apr 21, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 21, 2026

Screenshot Changes

Base: 93250509 Current: 0f76a4d2

Changed (1)

editor/inlineCompletions/other/JumpToHint/Dark
Before After
before after

Co-authored-by: Copilot <copilot@github.com>
anthonykim1
anthonykim1 previously approved these changes Apr 21, 2026
TylerLeonhardt
TylerLeonhardt previously approved these changes Apr 21, 2026
@dmitrivMS dmitrivMS dismissed stale reviews from TylerLeonhardt and anthonykim1 via 6c4d638 April 21, 2026 17:40
@dmitrivMS dmitrivMS merged commit d143e33 into main Apr 23, 2026
40 of 41 checks passed
@dmitrivMS dmitrivMS deleted the dev/dmitriv/sanity-test-fixes branch April 23, 2026 08:11
@vs-code-engineering vs-code-engineering Bot added this to the 1.118.0 milestone Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

engineering VS Code - Build / issue tracking / etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants