diff --git a/docs/writing-tests/visual-testing.md b/docs/writing-tests/visual-testing.md index def012d9250..4b2f85c68d2 100644 --- a/docs/writing-tests/visual-testing.md +++ b/docs/writing-tests/visual-testing.md @@ -40,12 +40,6 @@ npx chromatic --project-token -
- - GOTCHA: If you're project has less than 2 commits chromatic publishing will fail while `Retrieving git information` add another commit and try again. - -
- ```shell Build 1 published. @@ -53,6 +47,10 @@ Build 1 published. View it online at https://www.chromatic.com/build?appId=...&number=1. ``` +
+💡 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 documentation +
+ 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)