-
-
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
[Bug]: Angular + storyshots broken in 7.1.0 #23549
Comments
Hey there, Just dropping by with a quick update on Storyshots. We're shifting focus towards the test-runner for the future: Test-runner. Also, give the 'play' function a spin for your expectations: Play function. So, we won't be updating Storyshots further or fixing issues related to current versions of Storybook, but feel free to contribute a fix if this is pressuring for you. |
Sounds good, thanks @valentinpalkovic! I just sent a PR with the fix here: #23555 |
Hey @mattlewis92 ! Any reason why you closed your PR ? I have exactly the issue you fixed : |
oops, didn't mean to do that, re-opened! |
@mattlewis92 btw, did you face a strange behavior (always with storyshots 7.1 and Ng16) where it seems to completely ignoring all provided services inside |
I haven't encountered this, upon applying this patch I was able to get storyshots to work fine with latest angular 16.1 + storybook 7.1 |
Ok, thank you for your answer ! Just one last question : do you provide injectable with |
Not that I can see, I couldn't see us providing anything in our |
Describe the bug
Attempting to use storyshots with angular is broken in 7.x:
All I did to setup that repo was:
7.0.x
+7.1.x
though, last known working version was 6.x)To Reproduce
git clone https://github.com/mattlewis92/storybook-storyshot-bug.git
cd storybook-storyshot-bug
npm i
npm t
System
Additional context
No response
The text was updated successfully, but these errors were encountered: