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

Vitest UI opens an unexpected MacOS window #2518

Closed
6 tasks done
MatteoGauthier opened this issue Dec 16, 2022 · 1 comment
Closed
6 tasks done

Vitest UI opens an unexpected MacOS window #2518

MatteoGauthier opened this issue Dec 16, 2022 · 1 comment

Comments

@MatteoGauthier
Copy link

MatteoGauthier commented Dec 16, 2022

Describe the bug

When i run vitest --ui a macos windows opens

Enregistrement.de.l.ecran.2022-12-16.a.12.53.56.mov

Reproduction

git clone https://github.com/MatteoGauthier/tiles-provider.git
pnpm i ; pnpm run test:ui

System Info

System:
    OS: macOS 12.5.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 225.11 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.12.1 - /usr/local/bin/node
    Yarn: 1.22.17 - /usr/local/bin/yarn
    npm: 8.19.2 - /usr/local/bin/npm
  Browsers:
    Chrome: 108.0.5359.124
    Firefox: 107.0.1
    Safari: 15.6.1
  npmPackages:
    vitest: ^0.25.8 => 0.25.8 

Used Package Manager

pnpm

Validations

@HiDeoo
Copy link

HiDeoo commented Dec 31, 2022

The window asking Où se trouve undefined ? (Where is undefined? in english) is the result of the openChrome.applescript shipped with Vite executed with a second argument being the "undefined" string and this AppleScript executing tell application undefined.

This was previously possible due to a missing guard before executing this AppleScript but this issue should now be fixed by vitejs/vite#11406

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

No branches or pull requests

3 participants