Repository navigation
Commit 525832e
Create Storybook's settings directory in the Playwright image (#5629)
* Create Storybook's settings directory in the Playwright image
Storybook 8.6 writes a global settings file to `$HOME/.storybook/`. The
Playwright container runs as the host user id with no home directory, so
`$HOME` resolves to `/` and the write fails with EACCES, which aborts the
Storybook dev server before Playwright can connect. Pre-create the
directory the same way the image already does for the corepack and dlx
caches.
Co-Authored-By: Claude Mythos 5.1 <noreply@anthropic.com>
* Disable Storybook telemetry
Storybook 8.6 asks on first start whether to send anonymous crash
reports, unless telemetry is disabled or `CI` is set. The Playwright
container has neither, and the prompt blocks the Storybook server until
Playwright gives up waiting for it. Disabling telemetry skips the prompt
and the settings lookup behind it.
Verified locally with `pnpm test:storybook` on Storybook 8.6.17: all 317
Storybook tests pass with this and the settings directory change.
Co-Authored-By: Claude Mythos 5.1 <noreply@anthropic.com>
---------
Co-authored-by: Claude Mythos 5.1 <noreply@anthropic.com>1 parent 7931ee6 commit 525832e
2 files changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
17 | 20 | | |
18 | 21 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
0 commit comments