Commit 7da1b59
authored
🤖 refactor: disable Chromatic snapshots for Shimmer animations (#610)
The Shimmer component uses infinite animations (`repeat:
Number.POSITIVE_INFINITY`) which cause visual regression test failures
in Chromatic. Each snapshot shows the animation at a different point,
causing spurious diffs.
**Changes:**
- Disabled Chromatic snapshots for `ReasoningMessage.stories.tsx` (all
stories use Shimmer)
- Disabled Chromatic snapshots for `ActiveWorkspaceWithChat` story
(includes streaming reasoning messages with Shimmer)
**Why `disableSnapshot` instead of other approaches:**
- Can't mock animations - Shimmer is an intentional UI feature we want
in Storybook
- Can't use `pauseAnimationAtEnd` - animation loops infinitely
- Stories remain useful for manual testing and Storybook documentation
_Generated with `mux`_1 parent cbb5fbf commit 7da1b59
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
0 commit comments