Skip to content

CodeQL: Show Test Output Differences fails from the Command Palette #658

@lcartey

Description

@lcartey

Describe the bug
Choosing the CodeQL: Show Test Output Differences option from the Command Palette gives the following error:

Cannot read property 'info' of undefined

The command works fine when selected from the right-click context menu for the test in the Test Explorer

To Reproduce

  1. Run a CodeQL query test that fails
  2. Select the CodeQL: Show Test Output Differences option from the Command Palette.

Expected behavior
Ideally, it would show me the test output differences for the last test. Otherwise, can we hide it from the Command Palette? Or at least not throw an error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    VSCodebugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions