Skip to content

Commit

Permalink
Merge pull request #17114 from cabbiepete/patch-1
Browse files Browse the repository at this point in the history
Gotcha about chromatic publish not working
  • Loading branch information
jonniebigodes committed Jan 21, 2022
2 parents d6e3ded + 2e3ee01 commit 9909f9a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/writing-tests/visual-testing.md
Expand Up @@ -46,6 +46,10 @@ Build 1 published.
View it online at https://www.chromatic.com/build?appId=...&number=1.
```

<div class="aside">
💡 Before running Chromatic's CLI ensure you have at least two commits added to the repository to prevent build failures, as Chromatic relies on a full Git history graph to establish the baselines. Read more about baselines in Chromatic's <a href="https://www.chromatic.com/docs/branching-and-baselines"> documentation</a>
</div>

When Chromatic finishes, it should have successfully deployed your Storybook and established the baselines (i.e., starting point) for all your component's stories. Additionally, providing you with a link to the published Storybook that you can share with your team to gather feedback.

![Chromatic project first build](./chromatic-first-build-optimized.png)
Expand Down

0 comments on commit 9909f9a

Please sign in to comment.