Skip to content

Support Debug/Run Failed menu item actions on group nodes #3060

@BootBlock

Description

@BootBlock

Describe the bug
Right-clicking on a top-level SuiteNode causes the addition of Debug Failed and Run Failed as expected, but clicking on a GroupNode doesn't as just the standard Start Debugging and Run Without Debugging items are present.

To Reproduce

  1. Create a Group and place a test within it that'll fail.
  2. Run the test.
  3. Right-click on the parent Group for the failing test and note the lack of Debug Failed and Run Failed menu items.

Expected behavior
Debug Failed and Run Failed should appear on test Group nodes if any child item tests failed.

Screenshots
Correct: Right-clicking on the top-level SuiteNode shows Debug/Run items as expected.
image

Incorrect: Right-clicking on the GroupNode - no Debug/Run items are present.
image

Versions:

  • VS Code version: 1.52.1
  • Dart extension version: 3.18.1
  • Dart/Flutter SDK version: 2.10.4 / 1.26.0-2.0.pre.170 (master)

Metadata

Metadata

Assignees

No one assigned

    Labels

    in debuggingRelates to the debug adapter or process of running debug sessionsin testingRelates to test execution of Dart/Flutter tests for end usersin viewsRelates to custom views, like the Test tree or Dependencies treeis enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions