Skip to content

In the UI show test report when clicking on a test #6747

@noam-honig

Description

@noam-honig

Clear and concise description of the problem

Currently when I use the UI with the --ui flag, when I click a test on the UI nothing happens, there's a button to show the source code - but that's less useful (and also doesn't show the source of the test, just the source of the entire file)
There is an "Open test details" that is available only on the test file level - the same icon on the test level does the "show code" functionality.

Suggested solution

The dream would be to click a test and see why it failed.

When I click on the test in the left panel, show that specific test's report.
If I had my way, the tabs should be "Report" "Console" (also preferrably for the clicked test only) than code and module graph.

Checkout this stackblitz to see my current experience:
https://stackblitz.com/edit/api-test-example-qrjqcu?file=test.spec.ts

Alternative

No response

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    p2-nice-to-haveNot breaking anything but nice to have (priority)

    Type

    No type

    Projects

    Status

    Approved

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions