Skip to content

Test Explorer context menus should re-use same launch configuration #1951

Closed

Description

@DanTup

Currently if you create a custom "Run in Browser" code lens action, then re-run it from the tree, it'll forget your launch config.

Activity

  1. added
    is enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.
    in testingRelates to test execution of Dart/Flutter tests for end users
    on Aug 28, 2019
  2. added this to the v3.5.0 milestone on Aug 28, 2019
  3. DanTup commented on Sep 17, 2019

    @DanTup
    MemberAuthor

    In hindsight, this sort-of makes sense. While we can't add custom context menu items here, it isn't clear that the Run/Debug options on there should use the custom templates.

  4. modified the milestones: v3.5.0, Backlog on Sep 17, 2019
  5. modified the milestones: Backlog, On Deck on Jun 1, 2020
  6. DanTup commented on Jun 1, 2020

    @DanTup
    MemberAuthor

    We could perhaps have a ("re-run with last config") option, toggled only if it's available for the node and put it at the top?

  7. modified the milestones: On Deck, v3.13.0 on Jul 2, 2020
  8. DanTup commented on Jul 28, 2020

    @DanTup
    MemberAuthor

    There isn't really a clean way to do this - as we can't just keep track of the last config per-test, as you can run a while file/group at a time (eg. run a group with a config, then want to re-run an individual test). Since we can't alter the text on the context menu dynamically this was already going to be a less-than-ideal user experience, we should wait until there's a better way to handle this (like dynamic context menus).

  9. modified the milestones: v3.13.0, Backlog on Jul 28, 2020
  10. DanTup commented on Jul 31, 2025

    @DanTup
    MemberAuthor

    I don't think it makes sense to do this - we should use profiles for different kinds of launches and not have the tree behave differently depending on how you last run the test.

    There's an open issue about using profiles for the CodeLens configs at #3607

  11. added and removed
    is enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.
    in testingRelates to test execution of Dart/Flutter tests for end users
    on Jul 31, 2025
  12. removed this from the Backlog milestone on Jul 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions