webdriverio-community / wdio-vscode-service

A service to test VSCode extensions from end to end using WebdriverIO
https://webdriverio-community.github.io/wdio-vscode-service/
MIT License
33 stars 28 forks source link

Service fails if manifest for the version of VS Code is not available #56

Open mattseddon opened 1 year ago

mattseddon commented 1 year ago

I've just spent a couple of hours chasing around an issue with this service.

It started failing in our pipeline with the error SevereServiceError: Couldn't set up Chromedriver Couldn't fetch Chromedriver version: Unexpected token : in JSON at position 3

We test against stable (which got updated today). Turns out that the manifest for 1.74.1 (https://raw.githubusercontent.com/microsoft/vscode/1.74.1/cgmanifest.json) has not been made available yet.

Would it be possible to fallback to main (insiders) with an appropriate message under these circumstances?

cc @christian-bromann

redmundas commented 1 year ago

having the same issue for vscode 1.82.2. and I had to dig through source to figure out which version doesn't have the manifest file. so it would be helpful that error message would say which version is broken at least.

seanpoulter commented 7 months ago

I have a proposal. Since you've both mentioned the problem for patch releases for 1.74.1 and 1.82.2, I propose we:

I believe that'd help and collect feedback if we've solved the problem.