-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Labels
feat: browserIssues and PRs related to the browser runnerIssues and PRs related to the browser runner
Description
Describe the bug
When trying to run a test in browser mode (playwright) with a basic example next.js application, the browser window opens but hangs on a blank screen and fails to load vitest/utils in the background.
Reproduction
Reproduction repository, based on vitest next.js example: https://github.com/ludwigbacklund/vitest-browser-bug-repro
Just run yarn test, it will open a browser window and hang on a white screen. Check the console/network log.
System Info
System:
OS: macOS 13.3
CPU: (10) arm64 Apple M1 Pro
Memory: 774.77 MB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 16.13.1 - ~/.nodenv/versions/16.13.1/bin/node
Yarn: 1.22.15 - ~/.nodenv/versions/16.13.1/bin/yarn
npm: 8.1.2 - ~/.nodenv/versions/16.13.1/bin/npm
Browsers:
Chrome: 111.0.5563.146
Safari: 16.4
npmPackages:
@vitejs/plugin-react: latest => 3.1.0
@vitest/browser: ^0.29.8 => 0.29.8
vitest: latest => 0.29.8Used Package Manager
yarn
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feat: browserIssues and PRs related to the browser runnerIssues and PRs related to the browser runner
