What is visual testing? Visual tests validate the appearance of rendered UI by capturing an image of it in a consistent browser environment. That image is compared to previous images (baselines) to detect visual changes. UIs are more complex, multi-state, and personalized than ever. Visual testing helps you ensure that your app looks and feels right every release.
Table of ContentsCommentList
is a list component that you might find in any chat tool. Follow along as we demonstrate how to use Storybook to build discrete UI states including loading
, empty
, and hasData
. Then we'll walk through the process of visual testing by hand and automatically.