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

Browser: refreshing the page brakes vitest BroadcastChannel #5822

Closed
6 tasks done
sheremet-va opened this issue Jun 2, 2024 · 0 comments
Closed
6 tasks done

Browser: refreshing the page brakes vitest BroadcastChannel #5822

sheremet-va opened this issue Jun 2, 2024 · 0 comments
Labels
feat: browser Issues and PRs related to the browser runner p3-minor-bug An edge case that only affects very specific usage (priority)

Comments

@sheremet-va
Copy link
Member

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

@sheremet-va sheremet-va added feat: browser Issues and PRs related to the browser runner p3-minor-bug An edge case that only affects very specific usage (priority) labels Jun 2, 2024
@sheremet-va sheremet-va changed the title Browser: refreshing the page makes vitest's BroadcastChannel not work Browser: refreshing the page brakes vitest's BroadcastChannel Jun 2, 2024
@sheremet-va sheremet-va changed the title Browser: refreshing the page brakes vitest's BroadcastChannel Browser: refreshing the page brakes vitest BroadcastChannel Jun 2, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Jun 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feat: browser Issues and PRs related to the browser runner p3-minor-bug An edge case that only affects very specific usage (priority)
Projects
None yet
Development

No branches or pull requests

1 participant