code-server webview: unable to expand test report with vscode-java-test #688
Copy link
Copy link
Closed
Description
code-serverversion: v1.939-vsc1.33.1- OS Version: ubuntu
- Extension: https://github.com/microsoft/vscode-java-test/
Description
I am using the vscode-java-test plugin and after running the test case it opens a web-view with a generated HTML report of the test results.
However, I am not able to expand the report of the test result. I had raised a ticket on the extension page and was requested to raise a ticket here.
Expected functionality (local machine):

Steps to Reproduce
- If you try to install the java extension pack extension with the UI in code-server; it fails to install (this should be a different issue, I'm not sure where I should raise this.)
So a workaround that I found in this dockerfile is to actually get the extensions locally before starting code-server.
Here is a script that does this:
sudo apt-get update && apt-get install --no-install-recommends -y \
bsdtar \
openssl \
locales \
net-tools
export VSCODE_code-user=/home/code-user/.local/share/code-server/code-user;
export VSCODE_EXTENSIONS=/home/code-user/.local/share/code-server/extensions;
mkdir -p ${VSCODE_code-user};
chown code-user:code-user /home/code-user/.local/share/code-server/code-user/
mkdir -p ${VSCODE_EXTENSIONS}/java \
&& curl -JLs --retry 5 https://marketplace.visualstudio.com/_apis/public/gallery/publishers/redhat/vsextensions/java/latest/vspackage | bsdtar --strip-components=1 -xf - -C ${VSCODE_EXTENSIONS}/java extension
mkdir -p ${VSCODE_EXTENSIONS}/java-debugger \
&& curl -JLs --retry 5 https://marketplace.visualstudio.com/_apis/public/gallery/publishers/vscjava/vsextensions/vscode-java-debug/latest/vspackage | bsdtar --strip-components=1 -xf - -C ${VSCODE_EXTENSIONS}/java-debugger extension
mkdir -p ${VSCODE_EXTENSIONS}/java-test \
&& curl -JLs --retry 5 https://marketplace.visualstudio.com/_apis/public/gallery/publishers/vscjava/vsextensions/vscode-java-test/latest/vspackage | bsdtar --strip-components=1 -xf - -C ${VSCODE_EXTENSIONS}/java-test extension
mkdir -p /home/code-user/sandbox
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels

Activity
rohinwork commentedon May 28, 2019
Hey any updates on this?
rohinwork commentedon Jun 3, 2019
Hey checking in again to see if there's any progress on this?
Nudging @code-asher @kylecarbs.