Storybook visual testing checks whether a component’s rendered appearance has changed by capturing story screenshots and comparing them with approved baselines. Storybook’s documented Chromatic integration adds a visual review workflow: install the addon, inspect differences locally and in CI, then accept intentional changes or fix unintended ones. A visual diff is a review signal—not proof of a defect, and not a substitute for interaction, accessibility, or other tests.
What Storybook visual testing checks
A Storybook story describes a particular rendered UI state, such as a default button, a disabled control, or a dialog with validation errors. Visual tests capture those rendered states and compare their pixels with earlier captures. A difference can reveal changes to layout, color, size, typography, or other visible details. Storybook’s documentation describes the purpose plainly: “Visual tests catch bugs in UI appearance.” Storybook visual tests
The comparison does not decide whether a change is good or bad. A font update may create a large diff and still be intentional; a small spacing change may be a real regression. A developer needs to inspect the affected stories and decide what should happen.
What a visual diff does not prove
- It does not prove that a button works, a form submits, or a user flow behaves correctly. Those require behavior or interaction tests.
- It does not establish that the UI is accessible. Accessibility checks are a separate testing approach.
- It does not compare the same thing as a markup snapshot. Visual tests compare rendered pixels; snapshot tests compare rendered markup.
Storybook presents component behavior, visual appearance, accessibility, and snapshot testing as distinct approaches. A passing result in one category should not be treated as evidence that the others pass. Storybook’s UI testing overview
Recommended Free Tools
#1 Best Overall
- Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
- Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
- Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
- Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
- 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.
Set up the documented Chromatic integration
Storybook’s visual testing guide documents the @chromatic-com/storybook addon and gives Storybook 7.6 or higher as its requirement. That is the requirement stated on the linked visual-testing page; check the documentation matching your installed Storybook version and framework before upgrading or applying it to another testing feature. Visual testing setup documentation
- Check your installed version. Confirm the version used by your project, then compare it with the version-specific Storybook documentation. Do not confuse the visual-testing addon requirement with the separate Storybook 6.5.10+ requirement stated in Chromatic’s interaction-testing documentation.
- Add the integration. From the project root, run
npx storybook@latest add @chromatic-com/storybook. Review the changes the command makes and follow any prompts for the project. - Start Storybook. Run your project’s usual Storybook development command and open the local Storybook. Use the Visual Tests panel to run or inspect visual tests as directed by the addon.
- Connect the project for CI. The Storybook setup guide directs users to configure CI authentication with a Chromatic project token. Create and store that token through the documented service workflow and your CI provider’s secret-management settings; do not commit it in source code or paste a secret into a public configuration file.
- Run the check in CI. Add the documented visual-test step to your project’s CI workflow, using the setup instructions for your repository and version. Storybook recommends checking changes during development and running visual tests in CI before merge.
The documentation page specifies the addon and version requirement but setup details can vary with the project and its CI provider. Follow the current instructions for the installed Storybook version rather than assuming one command or configuration applies to every framework.
Rank #2
- 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
- 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
- Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
- 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
- What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.
Review visual changes and update baselines
When a visual check reports a difference, inspect the changed stories and their highlighted image regions. Determine whether the rendered change matches the intended code or design change. The review is part of the test: the comparison identifies what changed, while the team determines whether it is acceptable.
- Review the diff. Check the affected story, the prior baseline, and the current rendering. Consider whether the difference is confined to the expected component and state.
- If the change is intentional, accept the updated result as the new baseline through the review workflow. This records the appearance the team intends to preserve going forward.
- If it is unintended, fix the component, styling, or test setup, then rerun the check. Do not accept a baseline merely to clear a failed check.
- Use pull-request checks as a review gate. Storybook describes PR checks as a way to flag test errors and UI changes for team review, and recommends running visual tests in CI before merge. If your repository’s merge policy supports required checks, consider requiring this check before merging.
Visual tests, interaction tests, accessibility tests, and snapshots
| Approach | Primary question | What it compares or checks |
|---|---|---|
| Visual testing | Did the rendered appearance change? | Rendered pixels from story captures against prior baselines. |
| Interaction or behavior testing | Does the component respond as expected? | Behavior and user interactions, according to the test setup. |
| Accessibility testing | Are accessibility issues detected by the checks being run? | Accessibility rules or checks; a passing check is not a guarantee of universal accessibility. |
| Markup snapshot testing | Did the rendered markup change? | Rendered markup rather than screenshot pixels. |
These methods can complement one another, but their results are not interchangeable. A stable screenshot can coexist with broken interaction behavior, and unchanged markup can still render differently under changed styles or browser conditions.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Rank #3
- Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
- Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
- Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
- Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
- What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.
Chromatic or Storybook’s test-runner?
Storybook describes its test-runner as a generic tool that can run locally or in CI and can be configured or extended. It describes Chromatic as a hosted visual and interaction testing service with Git-provider synchronization and access controls. The choice depends on whether your priority is a hosted review workflow or a more customizable runner—not on one being universally better. Storybook test-runner documentation
- Choose the hosted route when you want the documented Chromatic visual-review workflow and its hosted visual and interaction testing capabilities.
- Use a generic runner when you need local or CI execution that you can configure or extend for custom tests.
- Combine them when it suits your workflow: Storybook documents running the test-runner locally and Chromatic in CI, or using the runner for custom tests.
The current test-runner documentation says the runner has been superseded by the Vitest addon for Vite-powered Storybook frameworks. Check the docs for your framework and version before choosing an integration; guidance can differ across versions and framework types.
Rank #4
- Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
- Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
- Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
- Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
- Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft
Chromatic’s interaction-test documentation gives Storybook 6.5.10+ for that feature. That is a separate, feature-specific requirement and should not be applied as the visual-testing addon’s minimum. Chromatic interaction tests Storybook also documents accessibility as a distinct testing approach; Chromatic has separate accessibility-test documentation. Chromatic accessibility tests
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Capture an external page with ScreenshotNeo
ScreenshotNeo is a website screenshot API and MCP server for developers. It can capture a deployed Storybook URL for a quick visual reference, but it is not a replacement for Storybook’s story-based baseline comparison or Chromatic’s pull-request review workflow. For Storybook visual regression checks, keep the documented integration above as the testing path; use an external capture when you specifically need a screenshot of a reachable URL.
Best Value
- 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
- Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
- Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
- HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
- What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.
Or skip the browser setup
For a deployed Storybook or page you can access by URL, make one GET request:
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://storybook.example.com -o shot.webp
Replace the example URL with your deployed Storybook address and provide your API key. See the ScreenshotNeo API documentation for request options and response details. Cookie banners, newsletter popups, and chat widgets are removed before the shot; bot checks, blank pages, failed loads, timeouts, and cache hits are not billed. Its response identifies page verdict and billing status in headers. An MCP server provides take_screenshot, get_page_info, and capture_pdf tools for AI agents using Claude, Cursor, or another MCP client. The Free plan includes 1,000 shots a month with no card, and paid plans start at $5 for 3,000 shots. Sign up for ScreenshotNeo’s free plan.
Practical reliability and cost considerations
A baseline comparison is useful only when the captured state is consistent enough to review. Keep story states representative, and investigate unexpected differences rather than reflexively updating baselines. CI checks add a review point before merge, but they do not remove the need for human judgment about intended design changes.
For hosted-versus-runner decisions, account for the workflow your team needs: hosted visual review and provider synchronization, or control over a configurable local/CI runner. The cited Storybook documentation establishes those broad distinctions, but does not establish current prices, plan limits, or a quantified cost or performance comparison. Check the relevant vendor documentation for current commercial and compatibility details.
Quick wins for a faster PC:
Clear out junk files and repair common Windows errorsFree Scan →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Frequently Asked Questions
Can a visual regression test tell whether a screenshot difference is a bug?
No. It identifies a rendered difference; a developer must decide whether the change is intended.
Does Chromatic’s interaction-testing version requirement apply to visual testing?
No. The interaction documentation’s Storybook 6.5.10+ requirement is specific to that feature; consult the visual-testing guide for its separate addon guidance.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

