Skip to content

Java Test Report expanding/collapsing tests opens up a new blank page tab on each click #3324

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
MxD-js opened this issue May 8, 2021 · 4 comments
Milestone

Comments

@MxD-js
Copy link

MxD-js commented May 8, 2021

OS/Web Information

  • Web Browser: Chrome/Brave/Firefox
  • Local OS: Mac OS X Catalina, Windows 10
  • Remote OS: Ubuntu 20.04
  • Remote Architecture: Clean install of Ubuntu and code-server, not dockerized.
  • code-server --version: 3.9.3

Steps to Reproduce

  1. Install java extensions pack form market place (microsoft market place, install manually)
  2. run a java test, after java test report comes up, attempt to expand the failed test to reveal the failed reason
  3. 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

  1. 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.

  2. The browser console,
    image

  3. The browser network tab.
    image

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.

@jsjoeio jsjoeio added the needs-investigation This issue needs to be further investigated label May 10, 2021
@jsjoeio jsjoeio added this to the Backlog milestone May 10, 2021
@MxD-js
Copy link
Author

MxD-js commented May 11, 2021

The link is coming from the "Navigate to Source" Button on the right of each test
image
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
Copy link
Contributor

jsjoeio commented May 11, 2021

Thanks for the extra details @MxD-js ! We'll have to investigate this further.

@jsjoeio jsjoeio modified the milestones: Backlog, On Deck May 11, 2021
@MxD-js
Copy link
Author

MxD-js commented 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
Copy link

stale bot commented 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.

@stale stale bot added the stale label Nov 13, 2021
@stale stale bot closed this as completed Nov 18, 2021
@code-asher code-asher removed the needs-investigation This issue needs to be further investigated label Jul 11, 2024
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

No branches or pull requests

3 participants