JSPM

  • Created
  • Published
  • Downloads 654
  • Score
    100M100P100Q100306F
  • License MIT

Automated Visual Testing for React Storybook using Screener.io

Package Exports

  • screener-storybook

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (screener-storybook) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Screener-Storybook

Automated Visual Testing for React Storybook using Screener.io.

Screener-Storybook will use your existing Storybook stories as visual test cases, and run them against Screener's automated visual testing service. Get visual regression tests across your React components with no coding!

Installation

Note: Your package.json file must contain a build-storybook script for exporting a static version of storybook. More Info

In your project, install screener-storybook:

$ npm install --save-dev screener-storybook

Then run the following command in your project root to complete setup (replacing <SCREENER_API_KEY> with your actual API key):

$ node node_modules/screener-storybook/bin/init.js -k <SCREENER_API_KEY>

Run

$ npm run test-storybook