You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to migrate from test-runner to addon-test. I have an existing suite of tests using vitests browser mode. Whilst running tests from the cli runs fine, attempting to run from the UI results in an error:
Found multiple projects that run browser tests in headed mode: "storybook (chromium)", "default (chromium)". Vitest cannot run multiple headed browsers at the same time. Please, filter projects with --browser=name or --project=name flag or run tests with "headless: true" option.
Presumably we need a way to direct vitest to use the correct project in this block:
Describe the bug
I'm trying to migrate from test-runner to addon-test. I have an existing suite of tests using vitests browser mode. Whilst running tests from the cli runs fine, attempting to run from the UI results in an error:
Presumably we need a way to direct vitest to use the correct project in this block:
storybook/code/addons/test/src/node/vitest-manager.ts
Lines 92 to 103 in 81513d0
Reproduction link
https://stackblitz.com/edit/github-7znwqsbf?file=package.json
Reproduction steps
System
Additional context
No response
The text was updated successfully, but these errors were encountered: