garris / garris/BackstopJS

How to automatically test storybook components using Backstop?

Open
#1,279 18 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.2k
Forks
621
PR merge metrics
No merged PRs in 30d

Description

Does anybody know what is the best way to test Storybook components with BackstopJS?
How to use Storybook metadata to generate a config which will test all components in a storybook?

Found an interesting solution that might help:
https://stackoverflow.com/questions/50408579/backstopjs-set-common-selector-for-all-scenarios/51223140#51223140

Here a guy managed to properly isolate components but still doesn't give an answer of how to create a config with all available components in a storybook.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.