Describe the bug
The "Run component tests" panel in the Storybook UI gets stuck on "Starting..." and never runs tests.
The console shows:
SB_MANAGER_UNIVERSAL-STORE_0001 (UniversalStoreFollowerTimeoutError)
Timed out waiting for leader state for UniversalStore follower with id: 'storybook/test-provider'
Error: Failed to start test runner process
This happens on a fresh npm install with Storybook 10.5.7. Downgrading to 10.4.6 fixes the issue completely.
Related: #33575
Reproduction link
https://github.com/zhanganderson/react-vite-storybook-vitest.git
Reproduction steps
The "Run component tests" panel in the Storybook UI gets stuck on "Starting..." and never runs tests.
The console shows:
SB_MANAGER_UNIVERSAL-STORE_0001 (UniversalStoreFollowerTimeoutError)
Timed out waiting for leader state for UniversalStore follower with id: 'storybook/test-provider'
Error: Failed to start test runner process
This happens on a fresh npm install with Storybook 10.5.7. Downgrading to 10.4.6 fixes the issue completely.
Related: #33575
System
npx storybook@latest info
Additional context
- Works perfectly on Storybook 10.4.6
- The CLI test runner (
vitest run --project=storybook) works fine on 10.5.7 — only the embedded UI widget is broken
- Likely a race condition: the 1-second timeout in UniversalStore follower (chunk-XYZ5NBEV.js:459) is too short on Windows
Describe the bug
The "Run component tests" panel in the Storybook UI gets stuck on "Starting..." and never runs tests.
The console shows:
SB_MANAGER_UNIVERSAL-STORE_0001 (UniversalStoreFollowerTimeoutError)Timed out waiting for leader state for UniversalStore follower with id: 'storybook/test-provider'Error: Failed to start test runner processThis happens on a fresh
npm installwith Storybook 10.5.7. Downgrading to 10.4.6 fixes the issue completely.Related: #33575
Reproduction link
https://github.com/zhanganderson/react-vite-storybook-vitest.git
Reproduction steps
The "Run component tests" panel in the Storybook UI gets stuck on "Starting..." and never runs tests.
The console shows:
SB_MANAGER_UNIVERSAL-STORE_0001 (UniversalStoreFollowerTimeoutError)Timed out waiting for leader state for UniversalStore follower with id: 'storybook/test-provider'Error: Failed to start test runner processThis happens on a fresh
npm installwith Storybook 10.5.7. Downgrading to 10.4.6 fixes the issue completely.Related: #33575
System
Additional context
vitest run --project=storybook) works fine on 10.5.7 — only the embedded UI widget is broken