Can't navigate from test in the Run panel to the test source
Problem: Clicking on the “test_yaml_api” test in the treeview of the Run window does not navigate to the test source.

The default working directory in the run debug configuration and Working directory is this.

When I remove the “tests” part of the Working directory and set it to “/Users/tom/Code/contracts/contracts”, then it works.
I could not find a way to work with the templates and macros so that this works for all new run configurations that are created.
This is the configured project structure:

Any pointers or suggestions are appreciated.
Please sign in to leave a comment.
Please try upgrading IDE to the latest version, disabling all non-bundled plugins (**Settings | Plugins**, click the cog icon -> Disable All Downloaded Plugins) and check if the problem persists.
If the problem remains unresolved, we would like to investigate it properly. Please create an issue on YouTrack (https://youtrack.jetbrains.com/newIssue) regarding this problem. Attach relevant logs (Help | Collect Logs and Diagnostic Data), screenshots, precise steps for reproducing the issue and a runnable code/project sample if needed.
For urgent inquiries, please use Help | Contact Support in the IDE.