Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
6 tasks done
KaelWD opened this issue Sep 25, 2024 · 1 comment · Fixed by #6577
Closed
6 tasks done

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

KaelWD opened this issue Sep 25, 2024 · 1 comment · Fixed by #6577
Labels
feat: ui Vitest UI p3-minor-bug An edge case that only affects very specific usage (priority)

Comments

@KaelWD
Copy link

KaelWD commented Sep 25, 2024

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

@hi-ogawa
Copy link
Contributor

hi-ogawa commented Sep 26, 2024

It looks like it was working on v1 (though rerun looks odd as it keeps "SKIP" entries):

https://stackblitz.com/edit/vitest-dev-vitest-tnyyrm?file=package.json

screenshot

image

It might be realted to UI rework done by #5907

@hi-ogawa hi-ogawa added feat: ui Vitest UI p3-minor-bug An edge case that only affects very specific usage (priority) and removed pending triage labels Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat: ui Vitest UI p3-minor-bug An edge case that only affects very specific usage (priority)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants