-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[plugins] Cannot read property 'getExtension' of vscode.extensions #19172
Comments
if it's from inside a .theia plug-in I think it's |
@benoitf It's inside .theia plug-in that collects and runs tests from VSCode extension which contain Maybe it should be another VSCode extension to collect and run tests not Theia plugin. |
I tried to run tests from VSCode extension and from Theia plugin and in both cases it is not possible to read extensions
I'm keep investigating |
Related PR: eclipse-theia/theia#10199 |
Describe
This task is to investigate the problem why it is not possible to get extensions when trying to run tests of a vscode extension on top of che-theia, in other words
vscode.extensions.getExtension(id)
returnsCannot read property 'getExtension' of undefined
.It is needed for #18219.
Che version
Steps to reproduce
Run VS Code extension tests
command (F1 -> Run VS Code extension tests)Another way with vscode extension:
/projects/extension-tests-runner
yarn
andyarn compile
Runtime
kubectl version
)oc version
)minikube version
andkubectl version
)minishift version
andoc version
)docker version
andkubectl version
)Screenshots
Installation method
chectl version
commandEnvironment
Eclipse Che Logs
Additional context
The text was updated successfully, but these errors were encountered: