-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Storyshots Puppeteer is broken with latest update #9517
Comments
@mklanjsek We were able to solve this error by adding puppeteer directly to our project. |
Thanks, adding Would be good if don't need to do that, though. |
It looks like this was the guilty commit: aad29ed#diff-7618e1ea33b2f7a83797c63c2c55acf0 @gaetanmaisse any chance you can:
|
@mklanjsek it was an intentional move in order to:
Sorry for having missed the doc update... |
@gaetanmaisse I think it's a huge improvement for users to install it themselves. It's also a breaking change in a minor release, which we've gotten a lot of criticism for in the past (rightfully?). Anyway, I'm cool with it, but let's watch out for this next time! (Next-next time, since we're starting 6.0 now and can break as much stuff as we want this milestone 😂) Thanks for the updates!!! |
@shilman you're 💯right and I'm a bit frustrated because I'm one of them, claiming to have breaking changes only in major updates 🙃! Looking back, I was overconfident when I was working on this addon a few months ago, I will definitely be more meticulous next time. |
It's all good--it happens to everybody. This is great work: I'd rather err on the side of upgrading the product than be scared to change anything. 💯 |
Describe the bug
Bumped the storybook versions from 5.2.8 to 5.3.x and can no longer run our storyshots-puppeteer tests.
To Reproduce
Steps to reproduce the behavior:
__tests__/imageStoryshots.test.js
usingimageSnapshot
for the test (code snippet below)imageSnapshot
function in the snippet below. If we replace it with a function that returnsundefined
, everything works fine.Expected behavior
Tests should pass or fail as they used to before the update.
Code snippets
Here is the content of
imageStoryshots.test.js
:Here is the error we are seeing:
System:
The text was updated successfully, but these errors were encountered: