Skip to content

Browser tools: dialog flake in the click and typing tools test (#350285) - #350592

Draft
Bryan Chen (bryanchen-d) wants to merge 1 commit into
mainfrom
copilot/vscode/browser-dialog-flake-2
Draft

Bryan Chen (bryanchen-d) wants to merge 1 commit into
mainfrom
copilot/vscode/browser-dialog-flake-2

Conversation

@bryanchen-d

Copy link
Copy Markdown
Collaborator

Work in progress for #350285. chat - browser tools › click and typing tools can handle dialogs in main, opaque, and nested frames still fails in the merge queue after #350301.

Right now this branch only holds a temporary commit. It loops the whole chat - browser tools suite 40 times in CI, so each round starts from the state the previous tests leave behind, and adds diagnostics to the failing assertion. That commit gets dropped before this PR is ready. It will become either the fix or a skip that links the issue.

Authored with Copilot

Copilot AI balanced review requested due to automatic review settings November 26, 2026 19:35
@bryanchen-d
Bryan Chen (bryanchen-d) force-pushed the copilot/vscode/browser-dialog-flake-2 branch from 1377813 to 104c4c7 Compare November 26, 2026 19:37

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

This temporary diagnostic instrumentation for an Electron flake requires CI reproduction evidence and review of the replacement change, neither of which is available in this diff.

No open issues 🎉

What changed in this PR

This PR adds temporary diagnostics to investigate the browser-tool dialog race in #350285, which still occurs after #350301. It changes only the integration test, not product behavior, and is intended to be replaced by a fix or issue-linked skip.

Changes:

  • Repeats the full browser-tools suite 40 times with numbered suite names to exercise state left by preceding tests.
  • When a click result omits the expected alert, waits three seconds and captures follow-up page/frame diagnostics alongside the original result.
File Description
extensions/​vscode-api-tests/​src/​singlefolder-tests/​browser.tools.test.ts Adds repeated suite execution and delayed diagnostics for the intermittent missing-dialog assertion.

Review effort: Balanced

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants