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
Since this._promisedSocket is assigned in beforeSession hook, does it make sense to use the deleteSession hook to reset this._promisedSocket = undefined?
If this only affects Cucumber, does the solution belong there?
The text was updated successfully, but these errors were encountered:
I think we can move forward with the patch #116 .. it's not to crucial for me to get to the bottom of this as long as we document what we are doing in #116 so everyone knows.
Problem
When I use @wdio/cucumber-framework to run my tests
Then I see an unexpected
Error: Connection closed. Code: 1006
Steps to Reproduce
I've reproduced the error from a private repo in https://github.com/seanpoulter/wdio-vscode-cucumber-example:
Analysis
The error is thrown from line 60
wdio-vscode-service/src/service.ts
Lines 58 to 62 in 92b7b6b
which is registered on line 116
wdio-vscode-service/src/service.ts
Lines 110 to 117 in 92b7b6b
Questions
this._promisedSocket
is assigned inbeforeSession
hook, does it make sense to use thedeleteSession
hook to resetthis._promisedSocket = undefined
?The text was updated successfully, but these errors were encountered: