You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding #9336, storyshots was failing for the RichTextEditor story with the following stack trace:
● Storyshots › Components/RichTextEditor › With Initial Content
TypeError: Cannot read properties of null (reading 'append')
at PureEditorContent.init (node_modules/@tiptap/react/src/EditorContent.tsx:133:15)
at PureEditorContent.componentDidMount (node_modules/@tiptap/react/src/EditorContent.tsx:116:10)
at commitLifeCycles (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:11782:24)
at commitLayoutEffects (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14443:7)
at HTMLUnknownElement.callCallback (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:11391:14)
at Object.invokeGuardedCallbackDev (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:11440:16)
at invokeGuardedCallback (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:11499:31)
at commitRootImpl (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14172:9)
at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:468:12)
at runWithPriority (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2486:10)
at commitRoot (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14011:3)
at performSyncWorkOnRoot (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13440:3)
at node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2537:26
at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:468:12)
at runWithPriority (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2486:10)
at flushSyncCallbackQueueImpl (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2532:9)
at flushSyncCallbackQueue (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2519:3)
at scheduleUpdateOnFiber (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13004:9)
at updateContainer (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16454:3)
at create (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:17149:3)
at getRenderedTree (node_modules/@storybook/addon-storyshots/dist/frameworks/react/renderTree.js:12:18)
at node_modules/@storybook/addon-storyshots/dist/test-bodies.js:9:24
at Object.<anonymous> (node_modules/@storybook/addon-storyshots/dist/api/snapshotsTestsTemplate.js:20:29)
After some digging we decided to disable storyshot tests to address as a follow-up.
Possible threads to pull:
Storyshots uses jsdom, which we already had to stub for TipTap for jest unit tests
The text was updated successfully, but these errors were encountered:
When adding #9336, storyshots was failing for the RichTextEditor story with the following stack trace:
After some digging we decided to disable storyshot tests to address as a follow-up.
Possible threads to pull:
The text was updated successfully, but these errors were encountered: