Skip to content

code-server webview: unable to expand test report with vscode-java-test #688

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

Closed
rohinwork opened this issue May 17, 2019 · 2 comments · Fixed by #857
Closed

code-server webview: unable to expand test report with vscode-java-test #688

rohinwork opened this issue May 17, 2019 · 2 comments · Fixed by #857

Comments

@rohinwork
Copy link

rohinwork commented May 17, 2019

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):
57829164-be858a80-77cb-11e9-9684-bb607a6cc304

Actual (remote):
57829188-d0672d80-77cb-11e9-8077-523c55481b3e

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
@rohinwork
Copy link
Author

Hey any updates on this?

@rohinwork
Copy link
Author

rohinwork commented Jun 3, 2019

Hey checking in again to see if there's any progress on this?
Nudging @code-asher @kylecarbs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant