Skip to content

Browser: refreshing the page brakes vitest BroadcastChannel #5822

@sheremet-va

Description

@sheremet-va

Describe the bug

If UI is refreshed manually, users can no longer run tests unless the Vitest process is restarted

Reproduction

  1. Run tests in test/browser with pnpm test-fixtures
  2. Run dom test by clicking on "Run" button
  3. Refresh the page, run dom test again (might take a few tries)
  4. See the screen hangs

System Info

Any

Used Package Manager

npm

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    feat: browserIssues and PRs related to the browser runnerp3-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