intellij icon indicating copy to clipboard operation
intellij copied to clipboard

Stacktraces in unit test results are not navigatable

Open dkashyn-sfdc opened this issue 2 years ago • 4 comments

Description of the bug:

Stacktrace looks like just text and there is no way to click on it to get to particular class image

What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

Run unit test that fails

Which Intellij IDE are you using? Please provide the specific version.

2023.2

What programming languages and tools are you using? Please provide specific versions.

Java

What Bazel plugin version are you using?

2023.07.18.0.1

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

No response

dkashyn-sfdc avatar Aug 10 '23 00:08 dkashyn-sfdc

I could not reproduce this with the example project https://github.com/bazelbuild/intellij/tree/master/examples/java/greetings_project. Can you try with a recent plugin version, like 2023.08.01.0.1-api-version-232 from the beta channel?

image

mai93 avatar Aug 14 '23 16:08 mai93

Based on image it feels like sources might be a factor here. I'll keep an eye on this!

JUnitCore is clickable now for me but some others don't.

dkashyn-sfdc avatar Aug 15 '23 01:08 dkashyn-sfdc

@mai93 I'm able to repro it in Gateway

Here is local where issue not happening image

for the very same project AND test here is Gateway image

not sure what to check...

Sources presence seems not a factor after all image

@tpasternak @mai93 do you have any recommendations?

dkashyn-sfdc avatar Aug 15 '23 02:08 dkashyn-sfdc

@dkashyn-sfdc is right, I reproduced the issue in Gateway. Looks like a gateway issue of course, but I'm not 100% sure yet

tpasternak avatar Sep 13 '23 11:09 tpasternak