mirror of
https://github.com/microsoft/vscode.git
synced 2026-06-29 19:06:00 +01:00
18a52c8a29
* smoke: fail fast with actionable error when Electron crashes during launch The per-suite `before all` hook launches Electron via Playwright's `_electron.launch`. This was called with `timeout: 0`, so when the Electron process crashed during startup (e.g. a native SIGSEGV in the Chromium browser-process/sandbox init path, which leaves a minidump), the launch promise never resolved or rejected. It simply hung until Mocha's 120s `before all` hook timeout fired, producing an opaque "Timeout of 120000ms exceeded" with no hint that a native crash had occurred. Give the launch (and the first-window wait) a finite timeout well below the Mocha hook timeout and wrap them so a failure is re-thrown as an actionable error pointing at the crash-dump directory and Playwright trace. This turns a 120s opaque hang into a faster, clearly-diagnosable failure. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
VS Code Tests
Contents
This folder contains the various test runners for VS Code. Please refer to the documentation within for how to run them: