Reproduction steps:
1. Open the attached “BugRepro” project
2. In the Test Runner window (Window > General > Test Runner), open EditMode tab
3. Select and run the “TestScriptSimplePasses“ test
4. In the Test Runner window logs section, click the hyperlink to the failed test in the script
5. Observe the opened code editor
Expected result: The cursor is set to the line of the failed test (line 77)
Actual result: The cursor is set to the last selected or the first line
Reproducible with: 2023.3.0b5, 6000.0.14f1
Not reproducible with: 2021.3.41f1, 2022.3.40f1, 2023.3.0b4
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Note:
- Tested IDE’s were Rider 2024.1.4 and Visual Studio 2022
- Testing was done with Test Runner 1.4.5 version