Docs: E2E tests for Source block update fix#22835
Conversation
…torybookjs/storybook into build/fix-next-chromatic-tests
|
So @shilman, you can see it is failing now on next branch. |
…' into chaks/fix-update-source-snippet
|
Thanks for the repro @chakAs3 very helpful! |
…ippet Docs: Fix Source block snippet updates
…n-docs Docs: E2E tests for Source block update fix
There was a problem hiding this comment.
@shilman I need to look deeper into the Block implementation, it seems an easy task, but I'm not aware of the reasons behind tell implementation.
In my opinion, The block should be only responsible for how the snippet will be rendered ( layout, design aspect+ show/hide/copy actions ). the Optimisation should be done in the decorator level. which is the case I guess at least for Vue, we only fire the RERENDRED_SNIPPET event if the args are changed.
Closes #
What I did
this an e2e to for sourceSnippet should faild if the source is not changing back to previous value
should be merged after #22807
How to test
Checklist
MIGRATION.MD
Maintainers
make sure to add the
ci:mergedorci:dailyGH label to it.["cleanup", "BREAKING CHANGE", "feature request", "bug", "documentation", "maintenance", "dependencies", "other"]