
BrowserStack
The global standard for cloud-based software testing and cross-browser compatibility.

Loki makes it easy to test your Storybook project for visual regressions.

Loki is a visual regression testing tool specifically designed for Storybook projects. It addresses the limitations of other tools by offering headless execution and avoiding deprecated technologies like PhantomJS. Loki ensures consistent UI rendering across different platforms by using Dockerized Chrome, iOS simulator, and Android emulator. The tool minimizes maintenance costs by automating the setup and providing reproducible tests, independent of the operating system. Loki compares screenshots using pixelmatch, GraphicsMagick, or looks-same, and allows configuration to suit different image comparison needs. It integrates directly with Storybook, streamlining the visual testing process for component libraries and design systems. The architecture supports various platforms and browsers, ensuring comprehensive coverage for visual regressions.
Loki is a visual regression testing tool specifically designed for Storybook projects.
Explore all tools that specialize in test ui components. This domain focus ensures Loki delivers optimized results for this specific requirement.
Explore all tools that specialize in visual regression testing. This domain focus ensures Loki delivers optimized results for this specific requirement.
Supports Chrome in Docker, local Chrome, iOS simulator, and Android emulator.
Offers pixelmatch, GraphicsMagick (gm), and looks-same for image comparison with customizable tolerances.
The chromeSelector setting allows specifying a CSS selector to crop screenshots.
The fetchFailIgnore setting allows ignoring specific network request failures.
The fileNameFormatter setting allows customizing the output file structure and names.
Install Loki: npm install -g loki
Initialize Loki configuration: loki init
Configure loki section in package.json or .lokirc
Run Storybook: npm run storybook
Run Loki tests: loki test
Approve baseline images: loki approve
Integrate Loki into CI/CD pipeline for automated testing
All Set
Ready to go
Verified feedback from other users.
"Users appreciate Loki's ease of setup and integration with Storybook, leading to efficient visual regression testing."
Post questions, share tips, and help other users.

The global standard for cloud-based software testing and cross-browser compatibility.

Autonomous AI-powered software testing that eliminates maintenance and accelerates release cycles.

Build, test & document UI components in isolation.
Capture bugs with technical logs and screen recordings to resolve issues faster.
Hoverfly Cloud is an API simulation platform that speeds up release cycles and reduces testing costs by simulating APIs and dependencies.