Skip to content

Go to Test doesn't work on some failing tests #5878

@FMorschel

Description

@FMorschel

Describe the bug
When you run the full tests and a test fails, you can't navigate to it.

To Reproduce
Steps to reproduce the behavior:

  1. Clone https://github.com/FMorschel/essential_lints/
  2. Checkout FMorschel/essential_lints@e152067
  3. Run Test: Run All Tests
  4. Once the tests finish, see essential_lints/test/fixes/add_missing_members_test.dart -> AddMissingMembersTest.test_addsMissingGetters_field fails and you can't navigate to it
  5. See, for example, _internal_plugin/test/invalid_members_test.dart -> InvalidMembersTest.test_consider passes and navigation works fine

I'm trying to navigate using the Test Results tab -> Go to Test button.

Expected behavior
For navigation to work in both cases.

Please complete the following information:

Workspace Environment
Dart Code extension: 3.127.20260115
Flutter extension: 3.127.20251229 (activated)

App: Visual Studio Code
App Host: desktop
Version: win 1.108.1

Workspace type: Dart (LSP)
Workspace name: essential_lints

Dart (3.12.0-edge.2bfdb03c4afd1592ca3c35bfa8e87c19a9db0c95): C:\Users\felip_0vh5fa6\dart
Flutter (3.38.6): C:\Users\felip_0vh5fa6\.puro\envs\stable\flutter (No device)

Output from 'dart info'

C:\Users\felip_0vh5fa6\dart\bin\dart.exe info

If providing this information as part of reporting a bug, please review the information
below to ensure it only contains things you're comfortable posting publicly.

General info

  • Dart 3.12.0-edge.2bfdb03c4afd1592ca3c35bfa8e87c19a9db0c95 (main) (Sat Jan 17 17:33:05 2026 -0800) on "windows_x64"
  • on windows / "Windows 11 Pro" 10.0 (Build 26200)
  • locale is pt-BR

Project info

  • sdk constraint: '^3.10.0'
  • dependencies: analysis_server_plugin, analyzer, essential_lints_annotations, logging, meta
  • dev_dependencies: analyzer_testing, frontend_server_client, test, test_reflective_loader, very_good_analysis

Process info

Memory CPU Elapsed time Command line
0 MB -- dart.exe
0 MB -- dart.exe
0 MB -- dart.exe
0 MB -- dart.exe
0 MB -- dart.exe
0 MB -- dart.exe
0 MB -- dart.exe
0 MB -- dartvm.exe
0 MB -- dartvm.exe

Metadata

Metadata

Assignees

No one assigned

    Labels

    in testingRelates to test execution of Dart/Flutter tests for end usersis bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions