Skip to content

Support inspecting known failing tests in UI #6940

@lishaduck

Description

@lishaduck

Clear and concise description of the problem

As a developer using Vitest I want to be able to see how many known failing tests there are so that I can keep track of them, rather than them hiding away. I don't want to use skips because I want to know if I inadvertently fix one, so that it doesn't regress.

I'd be willing to PR this sometime when I'm less busy.

Suggested solution

Add it to the ui in the sidebar (maybe on the dashboard?), maybe add indicators to the cli too liked skipped tests?

Alternative

Don't, keep track manually.
Use skip.

Additional context

I'm porting test cases over from one project to another and the new projects fails some of them. I've added .fails, which suppresses them for now, but there's not a good way to keep track of them, unlike skipped tests.

Validations

Metadata

Metadata

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