-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add stories.json support #31
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice stuff!! I added a few QA comments
Co-authored-by: Yann Braga <[email protected]>
bin/test-storybook.js
Outdated
} catch (err) { | ||
console.error(`[test-storybook] Failed to fetch stories.json from ${storiesJsonUrl}.`); | ||
console.error( | ||
'More info: https://github.com/storybookjs/test-runner/blob/main/README.md#storiesjson-mode' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice stuff! In case it helps: Mealdrop with play fn stories that will fail:
Mealdrop with all stories passing:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are a couple of things to fix but I'm approving in case you want this merged after you fix them 👍
Issue #23
What I did
--stories-json
flag to CLIHow to test
📦 Published PR as canary version:
0.0.2-canary.31.64c411c.0
✨ Test out this PR locally via:
Version
Published prerelease version:
v0.0.2-next.2
Changelog
🐛 Bug Fix
📝 Documentation
Authors: 2