You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{browserName: "vscode",browserVersion: "stable","wdio:vscodeOptions": {// points to directory where extension package.json is locatedextensionPath: __dirname,// optional VS Code settingsworkspacePath: path.join(__dirname,"test-ws"),userSettings: {"editor.fontSize": 14,},},},
What happened?
I have been running tests for a vscode extension via wdio v8 for a while on my Mac M1. This week the runner started hanging, and the test instance of VS Code never opens. Output looks like:
[0-0] 2025-02-05T18:11:49.616Z INFO chromedriver: [FAKE VSCode Binary] STDERR:
[0-0] 2025-02-05T18:11:49.616Z INFO chromedriver: DevTools listening on ws://127.0.0.1:50841/devtools/browser/1a6092b0-546a-4e16-a2f1-68bb5cc99baa
[0-0] 2025-02-05T18:11:49.616Z INFO chromedriver:
I upgraded wdio to 9.7.2 to see if it fixed the issue. It now fails with errors:
INFO chromedriver: [FAKE VSCode Binary] STDERR: [main 2025-02-05T18:13:38.912Z] Blocked vscode-file request vscode-file://vscode-app/Users/myuser/my-code/.wdio-vscode-service/vscode-darwin-arm64-1.96.4/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js
[0-1] 2025-02-05T18:13:38.912Z INFO chromedriver:
[0-1] 2025-02-05T18:13:40.525Z ERROR webdriver: WebDriverError: no such window
What is your expected behavior?
Running tests should open an instance of VS Code and run tests from specs.
OS
M1 Mac
MacOS Sequoia 15.3
WebdriverIO Version
9.7.2
Node.js Version
20.13.1
Mode
WDIO Testrunner
Which capabilities are you using?
What happened?
I have been running tests for a vscode extension via wdio v8 for a while on my Mac M1. This week the runner started hanging, and the test instance of VS Code never opens. Output looks like:
I upgraded wdio to 9.7.2 to see if it fixed the issue. It now fails with errors:
What is your expected behavior?
Running tests should open an instance of VS Code and run tests from specs.
How to reproduce the bug.
On a Mac M1 running Mac OS Sequoia 15.3
npm install
npm test
Relevant log output
The text was updated successfully, but these errors were encountered: