-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to run tests against a VSIX #67
Comments
@jeffb-sfdc the best way to implement this would be to rename the extension into |
Hi @christian-bromann, how could we do if it's not only one |
@CristiCanizales thanks for providing more context. Yeah probably this is how it could work, not sure in detail though. Any contributions would be appreciated. |
I feel like setting the "install-extension" inside of the vscodeArgs option should be the way to go, to install an extension by .vsix. Idk whether this works already or has to be implemented, maybe worth a test. |
thanks @tzAcee! do you have any examples? or where did you get that feeling on 'install-extension'? Thanks in advance🙌🏼 |
With the vscode CLI tool you can install extensions via "code --install-extension=ext.vsix", if the vscodeArgs propagates the arguments to the used binary as they are, I would expect that to work :) |
Hey @jeffb-sfdc here's the solution for
|
Hi @mikhail-g! Thanks for the help! Does it work with multiple extensions too? In that case, how would it be? Thanks in advance! 😄 |
Hello @mikhail-g, I tried with your solution and I noticed the following in the launch log:
Still it didn't install for the test instance. Do you mind to share some knowledge on this? Thanks. For my local env, I'm using node 16.20 on Ubuntu 22.04. |
Hi @mikhail-g, I am having the same problem as @NevEinsit. |
Didn't install the extensions in the test instance. @mikhail-g, Can you please help with this. |
At the moment, one specifies where there extension's code is located by setting the
extensionPath
setting inwdio.conf.ts
, and this location is the path to the extension's source files. We would like the ability to instead run the tests agains a VSIX that had been built.The text was updated successfully, but these errors were encountered: