In a PR that only has nimble-components source file changes (no package.json, etc or storybook package changes), chromatic turbosnap is not detecting the changes and is skipping all snapshots.
Workaround:
Check the build log Chromatic Publish step for "Capturing 0 snapshots and skipping 580 snapshots." to know if all snapshots were skipped even if they were expected
Tweak the .storybook/preview.js file comment at the bottom that has a guid you can update to make a change that will trigger a full turbosnap rebuild.
Acceptance:
Changes to nimble-components should trigger precise snapshots for turbosnap
Changes to nimble-tokens should trigger a full rebuild
Remove the comment in .storybook/preview.js for triggering a rebuild
🧹 Tech Debt
In a PR that only has nimble-components source file changes (no package.json, etc or storybook package changes), chromatic turbosnap is not detecting the changes and is skipping all snapshots.
Workaround:
.storybook/preview.js
file comment at the bottom that has a guid you can update to make a change that will trigger a full turbosnap rebuild.Acceptance:
.storybook/preview.js
for triggering a rebuild