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
{{ message }}
Repository navigation
Java Test Report expanding/collapsing tests opens up a new blank page tab on each click #3324
Remote Architecture: Clean install of Ubuntu and code-server, not dockerized.
code-server --version: 3.9.3
Steps to Reproduce
Install java extensions pack form market place (microsoft market place, install manually)
run a java test, after java test report comes up, attempt to expand the failed test to reveal the failed reason
when clicking on to expand the failed tests, a separate tab opens with with a link to a blank page.
Expected
Expanding/Collapsing tests in the report should'nt open a web page that leads no where.
Actual
A separate tab opens up on each click to collapse/expand a test result. This does not happen in the official msft vscode desktop release, only on code-server.
Logs
The most recent files from ~/.local/share/code-server/coder-logs = Logs are empty, (code-server-stderr.log) and (code-server-stdout.log) files are empty.
The browser console,
The browser network tab.
Screenshot
Screen.Recording.2021-05-08.at.9.20.04.AM.mov
Notes
Not reproducible in vanilla vscode, works as expected.
This issue can be reproduced in VS Code: No.
The link is coming from the "Navigate to Source" Button on the right of each test
but it spans the entire collapsible test. Clicking on the navigate to source button does not do anything, but at the status bar links to the same link. Only clicking the tests like the video shows then popup opens.
I tried all major browers, Safari, Chrome, Firefox, Opera, etc, since each one ships with their own version of a Js engine, I thought I could isolate it, but to no avail, issue is across all major browsers.
I've done some further digging and revering to version 0.27.0 of "Java Test Runner" extension it fixes this issue. I then installed 0.28.0 and issue came back. So something about the changes in 0.28.0 and later versions produces this issue.
Activity
MxD-js commentedon May 11, 2021
The link is coming from the "Navigate to Source" Button on the right of each test

but it spans the entire collapsible test. Clicking on the navigate to source button does not do anything, but at the status bar links to the same link. Only clicking the tests like the video shows then popup opens.
I tried all major browers, Safari, Chrome, Firefox, Opera, etc, since each one ships with their own version of a Js engine, I thought I could isolate it, but to no avail, issue is across all major browsers.
Updated to v3.10.0 and same result.
jsjoeio commentedon May 11, 2021
Thanks for the extra details @MxD-js ! We'll have to investigate this further.
MxD-js commentedon May 16, 2021
I've done some further digging and revering to version 0.27.0 of "Java Test Runner" extension it fixes this issue. I then installed 0.28.0 and issue came back. So something about the changes in 0.28.0 and later versions produces this issue.
https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-test
stale commentedon Nov 13, 2021
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no activity occurs in the next 5 days.