Skip to content

--ui --standalone doesn't show a list of tests until one is run #6574

@KaelWD

Description

@KaelWD

Describe the bug

  • Run vitest watch --ui --standalone
  • The UI opens with an empty list
  • Cause a test to run either by editing it or adding a filter in the terminal
  • All the other test files will appear in the UI

Reproduction

I are absolutely sure that the issue is obvious.

System Info

System:
    OS: Linux 5.15 Ubuntu 22.04.4 LTS 22.04.4 LTS (Jammy Jellyfish)
    CPU: (12) x64 AMD Ryzen 5 3600 6-Core Processor
    Memory: 14.88 GB / 31.26 GB
    Container: Yes
    Shell: 5.8.1 - /usr/bin/zsh
  Binaries:
    Node: 22.6.0 - ~/.nvm/versions/node/v22.6.0/bin/node
    npm: 10.8.2 - ~/.nvm/versions/node/v22.6.0/bin/npm
  Browsers:
    Chrome: 128.0.6613.119
    Firefox: 130.0

Used Package Manager

pnpm

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    feat: uiVitest UIp3-minor-bugAn edge case that only affects very specific usage (priority)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions