[Bug]: Queries of Cells using afterQuery
aren't mocked for components using them in Storybook
#11814
Open
1 task done
Labels
bug/needs-info
More information is needed for reproduction
What's not working?
This following feature (described in Tutorial Chapter 6: Multiple Comments) breaks when the referenced cell includes an afterQuery hook:
If the referenced cell exports an
afterQuery
hook, a GraphQL request is indeed fired, breaking the story b/c the cell will render theFailure
components instead ofSuccess
:How do we reproduce the bug?
Success
component of that cell), for instance a PageafterQuery
-hook to the cell. This can be the most simplest thinkable hook that basically does nothing:afterQuery
Cell hook #11742)Failure
component.What's your environment? (If it applies)
Are you interested in working on this?
The text was updated successfully, but these errors were encountered: