Commit d52e599
authored
🤖 fix: increase storybook helper timeout for CI cold start (#1298)
## Summary
Fixes intermittent flakes in Storybook tests (including TaskWorkflow)
during CI cold-start scenarios.
## Problem
The `waitForChatMessagesLoaded` helper in `storyPlayHelpers.ts` used a 5
second timeout. In CI, the first test(s) can take longer to load due to
large dependencies (Shiki, Mermaid) being initialized. This caused
failures with the error:
```
Message: Messages not loaded yet
```
Example failure in [CI run
20416096418](https://github.com/coder/mux/actions/runs/20416096418) for
TaskWorkflow story.
## Fix
Bumped timeout from 5s to 15s, matching the fix in
`App.markdown.stories.tsx` (fcecf80) for the same cold-start issue.
## Testing
- `make typecheck` passes
- Ran storybook tests 5 times locally, all passed
---
_Generated with `mux` • Model: `anthropic:claude-opus-4-5` • Thinking:
`high`_1 parent ce3bb39 commit d52e599
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
17 | | - | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| |||
0 commit comments