You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/visual-testing-handbook/react/en/automate.md
+61-58Lines changed: 61 additions & 58 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: 'Automate visual testing'
3
3
tocTitle: 'Automate'
4
4
description: 'Automate visual testing to catch regressions'
5
-
commit: 'b9671fb'
5
+
commit: '198ca0f'
6
6
---
7
7
8
8
Over the natural course of development, bugs are inevitable. Visual test automation uses machines to detect changes in UI appearance for a human to review.
@@ -55,7 +55,7 @@ UI tests capture an image snapshot of every story in a cloud browser environment
55
55
Add Chromatic as a development package to your project:
56
56
57
57
```shell
58
-
yarn add -D chromatic
58
+
yarn add --dev chromatic
59
59
```
60
60
61
61
Once it’s finished installing, we have all that we need. Now is an excellent time to commit and push the changes to the remote repository.
Want to dive deeper? Here are some additional helpful resources:
25
25
26
-
-[**Official Storybook docs**](https://storybook.js.org/docs/react/get-started/why-storybook) has API documentation, examples, and the addon gallery.
26
+
-[**Official Storybook docs**](https://storybook.js.org/docs/get-started/why-storybook) has API documentation, examples, and the addon gallery.
27
27
28
28
-[**How to actually test UIs**](https://storybook.js.org/blog/how-to-actually-test-uis/) is a summary of practical UI testing strategies from Shopify, Adobe, Twilio, and more.
0 commit comments