Skip to content

Custom UI results messages #7581

@bombillazo

Description

@bombillazo

Clear and concise description of the problem

Hello, we'd like a way to show custom HTML messages in the test results sections in vitest UI. For example, we dynamically generate some artifacts in the tests and would like to reference them with a link from the UI test results.

PS: We love Vitest, especially the UI reporter with static file generation. Thanks for the fantastic work.

Suggested solution

Add some parameter or configuration option to the tests to inject these messages into the latest UI results.

Alternative

No response

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    P2 - 2

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions