Sourcify
Effortlessly find and manage open-source dependencies for your projects.

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.
Effortlessly find and manage open-source dependencies for your projects.

End-to-end typesafe APIs made easy.

Page speed monitoring with Lighthouse, focusing on user experience metrics and data visualization.

Topcoder is a pioneer in crowdsourcing, connecting businesses with a global talent network to solve technical challenges.

Explore millions of Discord Bots and Discord Apps.

Build internal tools 10x faster with an open-source low-code platform.

Open-source RAG evaluation tool for assessing accuracy, context quality, and latency of RAG systems.

AI-powered synthetic data generation for software and AI development, ensuring compliance and accelerating engineering velocity.