Skip to content

Explorer sidebar SKIP counter shows "--" while PASS/FAIL show file counts (non-onlyTests view) #11118

Description

@andreeaVisma

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch @vitest/ui@4.1.11 for the project I'm working on.

In the Explorer sidebar's summary row, when the "Only Tests" filter is off, the SKIP counter always shows a hardcoded --, while the neighboring PASS and FAIL counters in the same row show real numbers (file-level counts in this view).

Repro:

  1. Run a suite with some skipped tests, default Explorer view (Only Tests off).
  2. Look at the sidebar summary row: PASS (n) / SKIP (--).
  3. SKIP is always --, regardless of how many tests were actually skipped.

The correct skipped-test count is available and already shown correctly elsewhere on the same page (the dashboard's own Skip tile) — so this isn't a missing-data issue, just this one row's counter never populating.

Not proposing a specific fix — we looked at swapping in the reactive test-skip count directly, but that would show a test-level number next to this row's existing file-level PASS/FAIL, a different kind of inconsistency. Flagging so maintainers can decide whether the row should show the file-level skipped-file count instead of -- for consistency with its siblings, or something else.

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions