933 Commits

Author SHA1 Message Date
storybook-bot
5ca883c16a Bump version from "9.0.0-alpha.11" to "9.0.0-alpha.12" [skip ci] 2025-03-30 18:27:03 +00:00
Valentin Palkovic
c20fee7666
Merge pull request #30956 from storybookjs/valentin/stabilize-experimental-nextjs-vite
Next.js-Vite: Stabilize @storybook/experimental-nextjs-vite
2025-03-28 16:15:25 +01:00
Jeppe Reinhold
561f1bd520 fix boot-test-runner unit tests 2025-03-28 12:39:41 +01:00
Jeppe Reinhold
8aec1a5e09 use separate VITEST_CHILD_PROCESS env var to determine store leadership
so that our internal unit tests which also has VITEST and TEST env vars doesn't make the store get created as followers, but only the actual vitest child process does.
2025-03-28 11:44:46 +01:00
Valentin Palkovic
f79e8b2c98 Next.js-Vite: Stabilizing @storybook/experimental-nextjs-vite 2025-03-28 09:28:48 +01:00
Jeppe Reinhold
3a15cb8a80 cleanup 2025-03-27 12:44:24 +01:00
Jeppe Reinhold
52d3addae9 fix test type errors 2025-03-27 12:27:58 +01:00
Jeppe Reinhold
4f30a5e8e8 remove bad merge conflict handling 2025-03-27 12:27:48 +01:00
Jeppe Reinhold
5d0152e4af Merge branch 'next' of github.com:storybookjs/storybook into jeppe/use-test-provider-store-in-manager 2025-03-27 11:17:43 +01:00
Jeppe Reinhold
a82451ef13 use sync flow for handling uncaught exceptions and unhandled errors in the vitest child process 2025-03-27 11:12:46 +01:00
Gert Hengeveld
09b12c5ed7 Merge branch 'next' into a11y-polish 2025-03-27 09:39:36 +01:00
Jeppe Reinhold
dedad6416c be less defensive about vitest not existing 2025-03-26 23:35:07 +01:00
Jeppe Reinhold
9c5060201d expose universal store types from storybook/internal/types 2025-03-26 23:28:45 +01:00
Jeppe Reinhold
86078c7b55 disable settings while tests are running 2025-03-26 23:16:10 +01:00
Jeppe Reinhold
43b935a75f set vitest env config at the start of the test run, not when they are changed. 2025-03-26 23:05:10 +01:00
storybook-bot
80242f98ba Bump version from "9.0.0-alpha.10" to "9.0.0-alpha.11" [skip ci] 2025-03-26 16:46:43 +00:00
Gert Hengeveld
7ce5598bb2 Merge branch 'next' into a11y-polish 2025-03-26 15:53:15 +01:00
Jeppe Reinhold
cce0035ce0 update unit tests 2025-03-26 15:30:08 +01:00
Jeppe Reinhold
8fa4e876ef only count passed and failed tests when counting total tests 2025-03-26 14:27:34 +01:00
Jeppe Reinhold
4934a9dbc5 Fix GlobalErrorModal DOM 2025-03-26 14:13:59 +01:00
Gert Hengeveld
8bd2aaf43b Fix test/interactions panel bar to have the same height as the a11y panel bar 2025-03-26 13:48:44 +01:00
Jeppe Reinhold
c09099af0d remove stacks from error telemetry 2025-03-26 11:50:32 +01:00
Jeppe Reinhold
80191cdf9e nest config under currentRun 2025-03-26 11:43:26 +01:00
Gert Hengeveld
8f2eca76f8 Merge branch 'next' into a11y-polish 2025-03-26 08:54:39 +01:00
Valentin Palkovic
5911cae16a Merge remote-tracking branch 'origin/next' into valentin/remove-addon-interactions-2 2025-03-26 08:19:32 +01:00
Jeppe Reinhold
d10c63eca7 update telemetry
- add TEST_RUN_COMPLETED event
- count test results separately per status
- add triggeredBy to currentRun
- show correct coverage status when previous run was a focused test run
-
2025-03-25 21:51:44 +01:00
storybook-bot
9d757630c5 Bump version from "9.0.0-alpha.9" to "9.0.0-alpha.10" [skip ci] 2025-03-25 16:26:18 +00:00
Norbert de Langen
c4119d51db
Merge branch 'next' into a11y-polish 2025-03-25 17:03:18 +01:00
Jeppe Reinhold
e2f7434e12 display unhandled errors similar to fatal errors 2025-03-25 15:27:40 +01:00
Jeppe Reinhold
717e74b834 handle Vitest startup errors properly. Fixes #30890 2025-03-25 14:47:27 +01:00
Jeppe Reinhold
f3f864f48f Include testModule errors as unhandled errors, serialize errors. Fixes #30892, Fixes #30891 2025-03-25 14:36:15 +01:00
Valentin Palkovic
e160c7e286 Merge remote-tracking branch 'origin/next' into valentin/remove-addon-interactions-2 2025-03-25 13:49:46 +01:00
Jeppe Reinhold
e95e8b837c improve labels and status icons 2025-03-25 13:24:02 +01:00
Norbert de Langen
5016a597e5 Merge branch 'next' into norbert/addon-viewport-in-core 2025-03-25 12:35:56 +01:00
Gert Hengeveld
870fef667f
Merge branch 'next' into a11y-polish 2025-03-25 10:23:08 +01:00
Valentin Palkovic
99f89c8f7c Add missing import 2025-03-25 09:19:47 +01:00
Valentin Palkovic
c86f62c815 Fix an issue where the badge is not shown for component tests 2025-03-25 09:08:15 +01:00
Valentin Palkovic
ae5ce6b2ca Merge remote-tracking branch 'origin/next' into valentin/remove-addon-interactions-2 2025-03-24 21:53:26 +01:00
Valentin Palkovic
19e48fe4ea Refactor component testing: Moved "Component Test" panel to core 2025-03-24 17:34:45 +01:00
storybook-bot
959f8cbaed Bump version from "9.0.0-alpha.8" to "9.0.0-alpha.9" [skip ci] 2025-03-24 16:32:04 +00:00
Gert Hengeveld
c7eab4fdff
Merge branch 'next' into a11y-polish 2025-03-24 14:48:54 +01:00
Jeppe Reinhold
1e4b4b2c3b support opening CT/a11y panel even when statuses are passing. Fixes #30911 2025-03-24 14:20:40 +01:00
Valentin Palkovic
c63bfd6b06 Remove addon-interactions 2025-03-24 13:52:31 +01:00
Jeppe Reinhold
c84f7fc2b2 don't restart vitest when toggling coverage, instead only restart vitest at the beginning of a run, if the coverage config doesn't match the current coverage state of vitest. Fixes #30907 2025-03-24 13:49:14 +01:00
Jeppe Reinhold
b39f271c6a take a11y errors into account too. Fixes #30904 2025-03-24 13:10:34 +01:00
Jeppe Reinhold
cfb417368c cleanup 2025-03-24 12:48:05 +01:00
Jeppe Reinhold
ca57bf736d make tests triggered by watch mode actual explicit runs, set indexUrl immediately on manager load. Fixes #30885 2025-03-24 12:20:50 +01:00
Jeppe Reinhold
889011230b disable coverage button when no coverage result is available. Fixes #30884 2025-03-24 10:37:02 +01:00
Jeppe Reinhold
ebfcd8a9c4 cache config+watching to file system - fix coverage and watching combination handling 2025-03-21 22:34:18 +01:00
Norbert de Langen
e02207c13c Remove '@storybook/addon-viewport' from essentials and consolidate viewport functionality into core, updating migration documentation accordingly. 2025-03-21 14:53:51 +01:00