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

Has a mask when preview result of HTML Reporter #2675

Closed
6 tasks done
mysteryven opened this issue Jan 16, 2023 · 0 comments · Fixed by #2693
Closed
6 tasks done

Has a mask when preview result of HTML Reporter #2675

mysteryven opened this issue Jan 16, 2023 · 0 comments · Fixed by #2693
Labels
feat: ui Vitest UI

Comments

@mysteryven
Copy link
Contributor

Describe the bug

I use HTML reporter and preview it by running npx vite preview --base __vitest__ --outDir html, there always show a connecting mask when I first open it by click the URL in the terminal. If I refresh the page, the mask disappears.

CleanShot 2023-01-16 at 13 11 15@2x

Reproduction

repo

  1. Download it to local
  2. Run pnpm test
  3. Run npx vite preview --base __vitest__ --outDir html
  4. Click URL in terminal to open it

System Info

System:
    OS: macOS 13.0.1
    CPU: (8) arm64 Apple M1 Pro
    Memory: 31.44 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.12.1 - ~/.nvm/versions/node/v18.12.1/bin/node
    Yarn: 1.22.4 - ~/.yarn/bin/yarn
    npm: 8.19.2 - ~/.nvm/versions/node/v18.12.1/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Browsers:
    Chrome: 109.0.5414.87
    Safari: 16.1
  npmPackages:
    vite: ^4.0.4 => 4.0.4
    vitest: latest => 0.27.1

Used Package Manager

pnpm

Validations

@github-actions github-actions bot locked and limited conversation to collaborators Jun 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feat: ui Vitest UI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants