Closed mikhail-g closed 8 months ago
Thanks for reporting. This seems to be a duplicate of #88
proposed the solution at: https://github.com/webdriverio-community/wdio-vscode-service/issues/88#issuecomment-1813076813
hey @christian-bromann do you remember why you made this change https://github.com/webdriverio-community/wdio-vscode-service/commit/1562cd19185af40f2269daa0574bb130201ab557? This seems to be a cause of this issue
The installation wizard doesn't produce working code, while the documentation doesn't has a workaround on how to fix it
Environment
OS: macOS Ventura Version 13.5.2 (22G91) node version: 16.16.0
Steps to reproduce:
npm create wdio@latest ./
and select the next options: ? What type of testing would you like to do? VS Code Extension Testing https://webdriver.io/docs/vscode-extension-testing ? Which framework do you want to use? Mocha (https://mochajs.org/) ? Do you want to use a compiler? TypeScript (https://www.typescriptlang.org/) ? Do you want WebdriverIO to autogenerate some test files? Yes ? What should be the location of your spec files? /Users/My_User/dev/wdio-vsce-test-issue/test/specs/*/.ts ? Which reporter do you want to use? spec ? Do you want to add a plugin to your test setup? ? Do you want to add a service to your test setup? vscode ? Do you want me to runnpm install
Yesnpm i
npm run wdio
Actual result:
There is an error on Wdio srtart:
After fixing it (see 2nd commit) there's another error for which I didn't find a fix or a workaround yet:
Expected result: