Skip to content
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: jest updating snapshots doesnt work #3455

Open
mhsdesign opened this issue Apr 2, 2023 · 0 comments
Open

BUG: jest updating snapshots doesnt work #3455

mhsdesign opened this issue Apr 2, 2023 · 0 comments
Labels
Bug Label to mark the change as bugfix Cleanup DX This issue, once solved, might improve the Developer Experience for Neos Integrators. Technical debt Tooling / Testing

Comments

@mhsdesign
Copy link
Member

          It is insane how fast it is. But while testing I spotted an issue with the Snapshot updates.

It turned out that it was also an issue before in the 8.3 branch.

yarn test-update-snapshots
 PASS  packages/positional-array-sorter/src/positionalArraySorter.spec.js
 PASS  packages/neos-ui/src/preprocessNodeConfiguration.spec.js
 PASS  packages/neos-ui-redux-store/src/UI/Inspector/index.spec.js
 PASS  packages/neos-ui-redux-store/src/CR/Nodes/index.spec.js
 PASS  packages/neos-ui-guest-frame/src/dom.spec.js
 PASS  packages/react-ui-components/src/ToggablePanel/toggablePanel.spec.js
 PASS  packages/neos-ui-contentrepository/src/registry/NodeTypesRegistry.spec.js
 PASS  packages/neos-ui-backend-connector/src/FlowQuery/index.spec.js
 PASS  packages/neos-ui-editors/src/Editors/SelectBox/index.spec.js
  ● Console

    console.error
      Warning: Failed prop type: The prop `theme.selectBoxHeader` is marked as required in `SelectBox_Header`, but its value is `undefined`.
          in SelectBox_Header (created by ThemedSelectBox_Header)
          in ThemedSelectBox_Header (created by ThemedSelectBox_Header)
          in ThemedSelectBox_Header (created by SelectBox)
          in div (created by ShallowDropDownHeader)
          in ShallowDropDownHeader (created by ContextDropDownHeader)
          in ContextDropDownHeader (created by ThemedContextDropDownHeader)
          in ThemedContextDropDownHeader (created by StatelessDropDownWrapperWithoutClickOutsideBehavior)
          in div (created by StatelessDropDownWrapperWithoutClickOutsideBehavior)
          in StatelessDropDownWrapperWithoutClickOutsideBehavior (created by clickOutside(StatelessDropDownWrapperWithoutClickOutsideBehavior))
          in clickOutside(StatelessDropDownWrapperWithoutClickOutsideBehavior) (created by ThemedclickOutside(StatelessDropDownWrapperWithoutClickOutsideBehavior))
          in ThemedclickOutside(StatelessDropDownWrapperWithoutClickOutsideBehavior) (created by SelectBox)
          in SelectBox (created by ThemedSelectBox)
          in ThemedSelectBox (created by KeyBoardHelper)
          in KeyBoardHelper (created by KeyBoardHelper)
          in KeyBoardHelper (created by SimpleSelectBoxEditor)
          in SimpleSelectBoxEditor (created by Context.Consumer)
          in Neos(SimpleSelectBoxEditor) (created by SelectBoxEditor)
          in SelectBoxEditor
          in WrapWithMockGlobalRegistry (created by WrapperComponent)
          in WrapperComponent

      at printWarning (node_modules/prop-types/<stdin>:20:15)
      at checkPropTypes (node_modules/prop-types/<stdin>:83:11)
      at validatePropTypes (node_modules/react/cjs/<stdin>:1714:7)
      at Object.createElementWithValidation [as createElement] (node_modules/react/cjs/<stdin>:1813:5)
      at Themed2.render (node_modules/@friendsofreactjs/react-css-themr/lib/components/<stdin>:186:49)
      at finishClassComponent (node_modules/react-dom/cjs/<stdin>:17160:31)
      at updateClassComponent (node_modules/react-dom/cjs/<stdin>:17110:24)
      at beginWork (node_modules/react-dom/cjs/<stdin>:18620:16)

    console.error
      Could not find icon { prefix: 'fas', iconName: 'chevron-down' }

      at log (node_modules/@fortawesome/react-fontawesome/<stdin>:263:34)
      at FontAwesomeIcon (node_modules/@fortawesome/react-fontawesome/<stdin>:332:7)
      at renderWithHooks (node_modules/react-dom/cjs/<stdin>:14803:18)
      at mountIndeterminateComponent (node_modules/react-dom/cjs/<stdin>:17482:13)
      at beginWork (node_modules/react-dom/cjs/<stdin>:18596:16)
      at beginWork$1 (node_modules/react-dom/cjs/<stdin>:23179:14)
      at performUnitOfWork (node_modules/react-dom/cjs/<stdin>:22157:12)
      at workLoopSync (node_modules/react-dom/cjs/<stdin>:22130:22)

    console.error
      Could not find icon { prefix: 'fas', iconName: 'chevron-up' }

      at log (node_modules/@fortawesome/react-fontawesome/<stdin>:263:34)
      at FontAwesomeIcon (node_modules/@fortawesome/react-fontawesome/<stdin>:332:7)
      at renderWithHooks (node_modules/react-dom/cjs/<stdin>:14803:18)
      at updateFunctionComponent (node_modules/react-dom/cjs/<stdin>:17034:20)
      at beginWork (node_modules/react-dom/cjs/<stdin>:18610:16)
      at beginWork$1 (node_modules/react-dom/cjs/<stdin>:23179:14)
      at performUnitOfWork (node_modules/react-dom/cjs/<stdin>:22157:12)
      at workLoopSync (node_modules/react-dom/cjs/<stdin>:22130:22)

    console.error
      Warning: Failed prop type: The prop `theme.listPreviewElement` is marked as required in `ListPreviewElement`, but its value is `undefined`.
          in ListPreviewElement (created by ThemedListPreviewElement)
          in ThemedListPreviewElement (created by ThemedListPreviewElement)
          in ThemedListPreviewElement (created by SelectBox_Option_SingleLine)
          in SelectBox_Option_SingleLine (created by SelectBox_ListPreviewFlat)
          in li (created by SelectBox_ListPreviewFlat)
          in SelectBox_ListPreviewFlat (created by SelectBox_ListPreview)
          in SelectBox_ListPreview (created by SelectBox_ListPreview)
          in SelectBox_ListPreview (created by SelectBox)
          in ul (created by SelectBox)
          in ul (created by ShallowDropDownContents)
          in ShallowDropDownContents (created by ContextDropDownContents)
          in ContextDropDownContents (created by ThemedContextDropDownContents)
          in ThemedContextDropDownContents (created by StatelessDropDownWrapperWithoutClickOutsideBehavior)
          in div (created by StatelessDropDownWrapperWithoutClickOutsideBehavior)
          in StatelessDropDownWrapperWithoutClickOutsideBehavior (created by clickOutside(StatelessDropDownWrapperWithoutClickOutsideBehavior))
          in clickOutside(StatelessDropDownWrapperWithoutClickOutsideBehavior) (created by ThemedclickOutside(StatelessDropDownWrapperWithoutClickOutsideBehavior))
          in ThemedclickOutside(StatelessDropDownWrapperWithoutClickOutsideBehavior) (created by SelectBox)
          in SelectBox (created by ThemedSelectBox)
          in ThemedSelectBox (created by KeyBoardHelper)
          in KeyBoardHelper (created by KeyBoardHelper)
          in KeyBoardHelper (created by SimpleSelectBoxEditor)
          in SimpleSelectBoxEditor (created by Context.Consumer)
          in Neos(SimpleSelectBoxEditor) (created by SelectBoxEditor)
          in SelectBoxEditor
          in WrapWithMockGlobalRegistry (created by WrapperComponent)
          in WrapperComponent

      at printWarning (node_modules/prop-types/<stdin>:20:15)
      at checkPropTypes (node_modules/prop-types/<stdin>:83:11)
      at validatePropTypes (node_modules/react/cjs/<stdin>:1714:7)
      at Object.createElementWithValidation [as createElement] (node_modules/react/cjs/<stdin>:1813:5)
      at Themed2.render (node_modules/@friendsofreactjs/react-css-themr/lib/components/<stdin>:186:49)
      at finishClassComponent (node_modules/react-dom/cjs/<stdin>:17160:31)
      at updateClassComponent (node_modules/react-dom/cjs/<stdin>:17110:24)
      at beginWork (node_modules/react-dom/cjs/<stdin>:18620:16)

    console.error
      Warning: `NaN` is an invalid value for the `bottom` css style property.
          in ul (created by ShallowDropDownContents)
          in ShallowDropDownContents (created by ContextDropDownContents)
          in ContextDropDownContents (created by ThemedContextDropDownContents)
          in ThemedContextDropDownContents (created by StatelessDropDownWrapperWithoutClickOutsideBehavior)
          in div (created by StatelessDropDownWrapperWithoutClickOutsideBehavior)
          in StatelessDropDownWrapperWithoutClickOutsideBehavior (created by clickOutside(StatelessDropDownWrapperWithoutClickOutsideBehavior))
          in clickOutside(StatelessDropDownWrapperWithoutClickOutsideBehavior) (created by ThemedclickOutside(StatelessDropDownWrapperWithoutClickOutsideBehavior))
          in ThemedclickOutside(StatelessDropDownWrapperWithoutClickOutsideBehavior) (created by SelectBox)
          in SelectBox (created by ThemedSelectBox)
          in ThemedSelectBox (created by KeyBoardHelper)
          in KeyBoardHelper (created by KeyBoardHelper)
          in KeyBoardHelper (created by SimpleSelectBoxEditor)
          in SimpleSelectBoxEditor (created by Context.Consumer)
          in Neos(SimpleSelectBoxEditor) (created by SelectBoxEditor)
          in SelectBoxEditor
          in WrapWithMockGlobalRegistry (created by WrapperComponent)
          in WrapperComponent

      at printWarning (node_modules/react-dom/cjs/<stdin>:88:30)
      at error (node_modules/react-dom/cjs/<stdin>:60:5)
      at warnStyleValueIsNaN (node_modules/react-dom/cjs/<stdin>:4512:5)
      at warnValidStyle (node_modules/react-dom/cjs/<stdin>:4536:9)
      at setValueForStyles (node_modules/react-dom/cjs/<stdin>:4600:9)
      at setInitialDOMProperties (node_modules/react-dom/cjs/<stdin>:5801:7)
      at setInitialProperties (node_modules/react-dom/cjs/<stdin>:6026:3)
      at finalizeInitialChildren (node_modules/react-dom/cjs/<stdin>:7499:3)

    console.error
      Could not find icon { prefix: 'fas', iconName: 'chevron-down' }

      at log (node_modules/@fortawesome/react-fontawesome/<stdin>:263:34)
      at FontAwesomeIcon (node_modules/@fortawesome/react-fontawesome/<stdin>:332:7)
      at renderWithHooks (node_modules/react-dom/cjs/<stdin>:14803:18)
      at mountIndeterminateComponent (node_modules/react-dom/cjs/<stdin>:17482:13)
      at beginWork (node_modules/react-dom/cjs/<stdin>:18596:16)
      at beginWork$1 (node_modules/react-dom/cjs/<stdin>:23179:14)
      at performUnitOfWork (node_modules/react-dom/cjs/<stdin>:22157:12)
      at workLoopSync (node_modules/react-dom/cjs/<stdin>:22130:22)

    console.error
      Could not find icon { prefix: 'fas', iconName: 'chevron-up' }

      at log (node_modules/@fortawesome/react-fontawesome/<stdin>:263:34)
      at FontAwesomeIcon (node_modules/@fortawesome/react-fontawesome/<stdin>:332:7)
      at renderWithHooks (node_modules/react-dom/cjs/<stdin>:14803:18)
      at updateFunctionComponent (node_modules/react-dom/cjs/<stdin>:17034:20)
      at beginWork (node_modules/react-dom/cjs/<stdin>:18610:16)
      at beginWork$1 (node_modules/react-dom/cjs/<stdin>:23179:14)
      at performUnitOfWork (node_modules/react-dom/cjs/<stdin>:22157:12)
      at workLoopSync (node_modules/react-dom/cjs/<stdin>:22130:22)

    console.error
      Could not find icon { prefix: 'fas', iconName: 'chevron-down' }

      at log (node_modules/@fortawesome/react-fontawesome/<stdin>:263:34)
      at FontAwesomeIcon (node_modules/@fortawesome/react-fontawesome/<stdin>:332:7)
      at renderWithHooks (node_modules/react-dom/cjs/<stdin>:14803:18)
      at mountIndeterminateComponent (node_modules/react-dom/cjs/<stdin>:17482:13)
      at beginWork (node_modules/react-dom/cjs/<stdin>:18596:16)
      at beginWork$1 (node_modules/react-dom/cjs/<stdin>:23179:14)
      at performUnitOfWork (node_modules/react-dom/cjs/<stdin>:22157:12)
      at workLoopSync (node_modules/react-dom/cjs/<stdin>:22130:22)

    console.error
      Could not find icon { prefix: 'fas', iconName: 'chevron-up' }

      at log (node_modules/@fortawesome/react-fontawesome/<stdin>:263:34)
      at FontAwesomeIcon (node_modules/@fortawesome/react-fontawesome/<stdin>:332:7)
      at renderWithHooks (node_modules/react-dom/cjs/<stdin>:14803:18)
      at updateFunctionComponent (node_modules/react-dom/cjs/<stdin>:17034:20)
      at beginWork (node_modules/react-dom/cjs/<stdin>:18610:16)
      at beginWork$1 (node_modules/react-dom/cjs/<stdin>:23179:14)
      at performUnitOfWork (node_modules/react-dom/cjs/<stdin>:22157:12)
      at workLoopSync (node_modules/react-dom/cjs/<stdin>:22130:22)

    console.error
      Could not find icon { prefix: 'fas', iconName: 'times' }

      at log (node_modules/@fortawesome/react-fontawesome/<stdin>:263:34)
      at FontAwesomeIcon (node_modules/@fortawesome/react-fontawesome/<stdin>:332:7)
      at renderWithHooks (node_modules/react-dom/cjs/<stdin>:14803:18)
      at mountIndeterminateComponent (node_modules/react-dom/cjs/<stdin>:17482:13)
      at beginWork (node_modules/react-dom/cjs/<stdin>:18596:16)
      at beginWork$1 (node_modules/react-dom/cjs/<stdin>:23179:14)
      at performUnitOfWork (node_modules/react-dom/cjs/<stdin>:22157:12)
      at workLoopSync (node_modules/react-dom/cjs/<stdin>:22130:22)

    console.error
      Could not find icon { prefix: 'fas', iconName: 'chevron-down' }

      at log (node_modules/@fortawesome/react-fontawesome/<stdin>:263:34)
      at FontAwesomeIcon (node_modules/@fortawesome/react-fontawesome/<stdin>:332:7)
      at renderWithHooks (node_modules/react-dom/cjs/<stdin>:14803:18)
      at mountIndeterminateComponent (node_modules/react-dom/cjs/<stdin>:17482:13)
      at beginWork (node_modules/react-dom/cjs/<stdin>:18596:16)
      at beginWork$1 (node_modules/react-dom/cjs/<stdin>:23179:14)
      at performUnitOfWork (node_modules/react-dom/cjs/<stdin>:22157:12)
      at workLoopSync (node_modules/react-dom/cjs/<stdin>:22130:22)

    console.error
      Could not find icon { prefix: 'fas', iconName: 'chevron-up' }

      at log (node_modules/@fortawesome/react-fontawesome/<stdin>:263:34)
      at FontAwesomeIcon (node_modules/@fortawesome/react-fontawesome/<stdin>:332:7)
      at renderWithHooks (node_modules/react-dom/cjs/<stdin>:14803:18)
      at updateFunctionComponent (node_modules/react-dom/cjs/<stdin>:17034:20)
      at beginWork (node_modules/react-dom/cjs/<stdin>:18610:16)
      at beginWork$1 (node_modules/react-dom/cjs/<stdin>:23179:14)
      at performUnitOfWork (node_modules/react-dom/cjs/<stdin>:22157:12)
      at workLoopSync (node_modules/react-dom/cjs/<stdin>:22130:22)

    console.error
      Warning: Failed prop type: The prop `focusedNodePath` is marked as required in `DataSourceBasedSelectBoxEditor`, but its value is `undefined`.
          in DataSourceBasedSelectBoxEditor (created by ConnectFunction)
          in ConnectFunction (created by Context.Consumer)
          in Neos(Connect(DataSourceBasedSelectBoxEditor)) (created by SelectBoxEditor)
          in SelectBoxEditor
          in Provider
          in WrapWithMockGlobalRegistry (created by WrapperComponent)
          in WrapperComponent

      at printWarning (node_modules/prop-types/<stdin>:20:15)
      at checkPropTypes (node_modules/prop-types/<stdin>:83:11)
      at validatePropTypes (node_modules/react/cjs/<stdin>:1714:7)
      at Object.createElementWithValidation [as createElement] (node_modules/react/cjs/<stdin>:1813:5)
      at node_modules/react-redux/lib/components/<stdin>:319:34
      at mountMemo (node_modules/react-dom/cjs/<stdin>:15442:19)
      at Object.useMemo (node_modules/react-dom/cjs/<stdin>:15738:16)
      at useMemo (node_modules/react/cjs/<stdin>:1521:21)

    console.error
      Could not find icon { prefix: 'fas', iconName: 'spinner' }

      at log (node_modules/@fortawesome/react-fontawesome/<stdin>:263:34)
      at FontAwesomeIcon (node_modules/@fortawesome/react-fontawesome/<stdin>:332:7)
      at renderWithHooks (node_modules/react-dom/cjs/<stdin>:14803:18)
      at mountIndeterminateComponent (node_modules/react-dom/cjs/<stdin>:17482:13)
      at beginWork (node_modules/react-dom/cjs/<stdin>:18596:16)
      at beginWork$1 (node_modules/react-dom/cjs/<stdin>:23179:14)
      at performUnitOfWork (node_modules/react-dom/cjs/<stdin>:22157:12)
      at workLoopSync (node_modules/react-dom/cjs/<stdin>:22130:22)

    console.error
      Could not find icon { prefix: 'fas', iconName: 'chevron-up' }

      at log (node_modules/@fortawesome/react-fontawesome/<stdin>:263:34)
      at FontAwesomeIcon (node_modules/@fortawesome/react-fontawesome/<stdin>:332:7)
      at renderWithHooks (node_modules/react-dom/cjs/<stdin>:14803:18)
      at mountIndeterminateComponent (node_modules/react-dom/cjs/<stdin>:17482:13)
      at beginWork (node_modules/react-dom/cjs/<stdin>:18596:16)
      at beginWork$1 (node_modules/react-dom/cjs/<stdin>:23179:14)
      at performUnitOfWork (node_modules/react-dom/cjs/<stdin>:22157:12)
      at workLoopSync (node_modules/react-dom/cjs/<stdin>:22130:22)

    console.error
      Warning: Failed prop type: The prop `theme.multiLineWithThumbnail__item` is marked as required in `SelectBox_Option_MultiLineWithThumbnail`, but its value is `undefined`.
          in SelectBox_Option_MultiLineWithThumbnail (created by ThemedSelectBox_Option_MultiLineWithThumbnail)
          in ThemedSelectBox_Option_MultiLineWithThumbnail (created by PreviewOption)
          in PreviewOption (created by SelectBox_ListPreviewFlat)
          in li (created by SelectBox_ListPreviewFlat)
          in SelectBox_ListPreviewFlat (created by SelectBox_ListPreview)
          in SelectBox_ListPreview (created by SelectBox_ListPreview)
          in SelectBox_ListPreview (created by SelectBox)
          in ul (created by SelectBox)
          in ul (created by ShallowDropDownContents)
          in ShallowDropDownContents (created by ContextDropDownContents)
          in ContextDropDownContents (created by ThemedContextDropDownContents)
          in ThemedContextDropDownContents (created by StatelessDropDownWrapperWithoutClickOutsideBehavior)
          in div (created by StatelessDropDownWrapperWithoutClickOutsideBehavior)
          in StatelessDropDownWrapperWithoutClickOutsideBehavior (created by clickOutside(StatelessDropDownWrapperWithoutClickOutsideBehavior))
          in clickOutside(StatelessDropDownWrapperWithoutClickOutsideBehavior) (created by ThemedclickOutside(StatelessDropDownWrapperWithoutClickOutsideBehavior))
          in ThemedclickOutside(StatelessDropDownWrapperWithoutClickOutsideBehavior) (created by SelectBox)
          in SelectBox (created by ThemedSelectBox)
          in ThemedSelectBox (created by KeyBoardHelper)
          in KeyBoardHelper (created by KeyBoardHelper)
          in KeyBoardHelper (created by DataSourceBasedSelectBoxEditor)
          in DataSourceBasedSelectBoxEditor (created by ConnectFunction)
          in ConnectFunction (created by Context.Consumer)
          in Neos(Connect(DataSourceBasedSelectBoxEditor)) (created by SelectBoxEditor)
          in SelectBoxEditor
          in Provider
          in WrapWithMockGlobalRegistry (created by WrapperComponent)
          in WrapperComponent

      at printWarning (node_modules/prop-types/<stdin>:20:15)
      at checkPropTypes (node_modules/prop-types/<stdin>:83:11)
      at validatePropTypes (node_modules/react/cjs/<stdin>:1714:7)
      at Object.createElementWithValidation [as createElement] (node_modules/react/cjs/<stdin>:1813:5)
      at Themed2.render (node_modules/@friendsofreactjs/react-css-themr/lib/components/<stdin>:186:49)
      at finishClassComponent (node_modules/react-dom/cjs/<stdin>:17160:31)
      at updateClassComponent (node_modules/react-dom/cjs/<stdin>:17110:24)
      at beginWork (node_modules/react-dom/cjs/<stdin>:18620:16)

    console.error
      Could not find icon { prefix: 'fas', iconName: 'spinner' }

      at log (node_modules/@fortawesome/react-fontawesome/<stdin>:263:34)
      at FontAwesomeIcon (node_modules/@fortawesome/react-fontawesome/<stdin>:332:7)
      at renderWithHooks (node_modules/react-dom/cjs/<stdin>:14803:18)
      at mountIndeterminateComponent (node_modules/react-dom/cjs/<stdin>:17482:13)
      at beginWork (node_modules/react-dom/cjs/<stdin>:18596:16)
      at beginWork$1 (node_modules/react-dom/cjs/<stdin>:23179:14)
      at performUnitOfWork (node_modules/react-dom/cjs/<stdin>:22157:12)
      at workLoopSync (node_modules/react-dom/cjs/<stdin>:22130:22)

    console.error
      Could not find icon { prefix: 'fas', iconName: 'chevron-up' }

      at log (node_modules/@fortawesome/react-fontawesome/<stdin>:263:34)
      at FontAwesomeIcon (node_modules/@fortawesome/react-fontawesome/<stdin>:332:7)
      at renderWithHooks (node_modules/react-dom/cjs/<stdin>:14803:18)
      at mountIndeterminateComponent (node_modules/react-dom/cjs/<stdin>:17482:13)
      at beginWork (node_modules/react-dom/cjs/<stdin>:18596:16)
      at beginWork$1 (node_modules/react-dom/cjs/<stdin>:23179:14)
      at performUnitOfWork (node_modules/react-dom/cjs/<stdin>:22157:12)
      at workLoopSync (node_modules/react-dom/cjs/<stdin>:22130:22)

    console.error
      Could not find icon { prefix: 'fas', iconName: 'spinner' }

      at log (node_modules/@fortawesome/react-fontawesome/<stdin>:263:34)
      at FontAwesomeIcon (node_modules/@fortawesome/react-fontawesome/<stdin>:332:7)
      at renderWithHooks (node_modules/react-dom/cjs/<stdin>:14803:18)
      at mountIndeterminateComponent (node_modules/react-dom/cjs/<stdin>:17482:13)
      at beginWork (node_modules/react-dom/cjs/<stdin>:18596:16)
      at beginWork$1 (node_modules/react-dom/cjs/<stdin>:23179:14)
      at performUnitOfWork (node_modules/react-dom/cjs/<stdin>:22157:12)
      at workLoopSync (node_modules/react-dom/cjs/<stdin>:22130:22)

    console.error
      Could not find icon { prefix: 'fas', iconName: 'chevron-up' }

      at log (node_modules/@fortawesome/react-fontawesome/<stdin>:263:34)
      at FontAwesomeIcon (node_modules/@fortawesome/react-fontawesome/<stdin>:332:7)
      at renderWithHooks (node_modules/react-dom/cjs/<stdin>:14803:18)
      at mountIndeterminateComponent (node_modules/react-dom/cjs/<stdin>:17482:13)
      at beginWork (node_modules/react-dom/cjs/<stdin>:18596:16)
      at beginWork$1 (node_modules/react-dom/cjs/<stdin>:23179:14)
      at performUnitOfWork (node_modules/react-dom/cjs/<stdin>:22157:12)
      at workLoopSync (node_modules/react-dom/cjs/<stdin>:22130:22)

    console.error
      Could not find icon { prefix: 'fas', iconName: 'spinner' }

      at log (node_modules/@fortawesome/react-fontawesome/<stdin>:263:34)
      at FontAwesomeIcon (node_modules/@fortawesome/react-fontawesome/<stdin>:332:7)
      at renderWithHooks (node_modules/react-dom/cjs/<stdin>:14803:18)
      at mountIndeterminateComponent (node_modules/react-dom/cjs/<stdin>:17482:13)
      at beginWork (node_modules/react-dom/cjs/<stdin>:18596:16)
      at beginWork$1 (node_modules/react-dom/cjs/<stdin>:23179:14)
      at performUnitOfWork (node_modules/react-dom/cjs/<stdin>:22157:12)
      at workLoopSync (node_modules/react-dom/cjs/<stdin>:22130:22)

    console.error
      Could not find icon { prefix: 'fas', iconName: 'chevron-up' }

      at log (node_modules/@fortawesome/react-fontawesome/<stdin>:263:34)
      at FontAwesomeIcon (node_modules/@fortawesome/react-fontawesome/<stdin>:332:7)
      at renderWithHooks (node_modules/react-dom/cjs/<stdin>:14803:18)
      at mountIndeterminateComponent (node_modules/react-dom/cjs/<stdin>:17482:13)
      at beginWork (node_modules/react-dom/cjs/<stdin>:18596:16)
      at beginWork$1 (node_modules/react-dom/cjs/<stdin>:23179:14)
      at performUnitOfWork (node_modules/react-dom/cjs/<stdin>:22157:12)
      at workLoopSync (node_modules/react-dom/cjs/<stdin>:22130:22)

    console.error
      Could not find icon { prefix: 'fas', iconName: 'spinner' }

      at log (node_modules/@fortawesome/react-fontawesome/<stdin>:263:34)
      at FontAwesomeIcon (node_modules/@fortawesome/react-fontawesome/<stdin>:332:7)
      at renderWithHooks (node_modules/react-dom/cjs/<stdin>:14803:18)
      at mountIndeterminateComponent (node_modules/react-dom/cjs/<stdin>:17482:13)
      at beginWork (node_modules/react-dom/cjs/<stdin>:18596:16)
      at beginWork$1 (node_modules/react-dom/cjs/<stdin>:23179:14)
      at performUnitOfWork (node_modules/react-dom/cjs/<stdin>:22157:12)
      at workLoopSync (node_modules/react-dom/cjs/<stdin>:22130:22)

    console.error
      Could not find icon { prefix: 'fas', iconName: 'times' }

      at log (node_modules/@fortawesome/react-fontawesome/<stdin>:263:34)
      at FontAwesomeIcon (node_modules/@fortawesome/react-fontawesome/<stdin>:332:7)
      at renderWithHooks (node_modules/react-dom/cjs/<stdin>:14803:18)
      at mountIndeterminateComponent (node_modules/react-dom/cjs/<stdin>:17482:13)
      at beginWork (node_modules/react-dom/cjs/<stdin>:18596:16)
      at beginWork$1 (node_modules/react-dom/cjs/<stdin>:23179:14)
      at performUnitOfWork (node_modules/react-dom/cjs/<stdin>:22157:12)
      at workLoopSync (node_modules/react-dom/cjs/<stdin>:22130:22)

    console.error
      Could not find icon { prefix: 'fas', iconName: 'chevron-up' }

      at log (node_modules/@fortawesome/react-fontawesome/<stdin>:263:34)
      at FontAwesomeIcon (node_modules/@fortawesome/react-fontawesome/<stdin>:332:7)
      at renderWithHooks (node_modules/react-dom/cjs/<stdin>:14803:18)
      at mountIndeterminateComponent (node_modules/react-dom/cjs/<stdin>:17482:13)
      at beginWork (node_modules/react-dom/cjs/<stdin>:18596:16)
      at beginWork$1 (node_modules/react-dom/cjs/<stdin>:23179:14)
      at performUnitOfWork (node_modules/react-dom/cjs/<stdin>:22157:12)
      at workLoopSync (node_modules/react-dom/cjs/<stdin>:22130:22)

 PASS  packages/react-ui-components/src/Tabs/tabs.spec.tsx
 PASS  packages/react-ui-components/src/CheckBox/index.spec.ts
 PASS  packages/neos-ui-sagas/src/Browser/index.spec.js
 PASS  packages/react-ui-components/src/DateInput/dateInput.spec.tsx
 PASS  packages/react-ui-components/src/Tree/index.spec.js
 PASS  packages/react-ui-components/src/index.spec.js
 PASS  packages/neos-ui/src/Containers/RightSideBar/Inspector/PropertyGroup/index.spec.js
  ● Console

    console.error
      Could not find icon { prefix: 'fas', iconName: 'question' }

      at log (node_modules/@fortawesome/react-fontawesome/<stdin>:263:34)
      at FontAwesomeIcon (node_modules/@fortawesome/react-fontawesome/<stdin>:332:7)
      at renderWithHooks (node_modules/react-dom/cjs/<stdin>:14803:18)
      at mountIndeterminateComponent (node_modules/react-dom/cjs/<stdin>:17482:13)
      at beginWork (node_modules/react-dom/cjs/<stdin>:18596:16)
      at beginWork$1 (node_modules/react-dom/cjs/<stdin>:23179:14)
      at performUnitOfWork (node_modules/react-dom/cjs/<stdin>:22157:12)
      at workLoopSync (node_modules/react-dom/cjs/<stdin>:22130:22)

    console.error
      Could not find icon { prefix: 'fas', iconName: 'chevron-circle-up' }

      at log (node_modules/@fortawesome/react-fontawesome/<stdin>:263:34)
      at FontAwesomeIcon (node_modules/@fortawesome/react-fontawesome/<stdin>:332:7)
      at renderWithHooks (node_modules/react-dom/cjs/<stdin>:14803:18)
      at mountIndeterminateComponent (node_modules/react-dom/cjs/<stdin>:17482:13)
      at beginWork (node_modules/react-dom/cjs/<stdin>:18596:16)
      at beginWork$1 (node_modules/react-dom/cjs/<stdin>:23179:14)
      at performUnitOfWork (node_modules/react-dom/cjs/<stdin>:22157:12)
      at workLoopSync (node_modules/react-dom/cjs/<stdin>:22130:22)

    console.error
      Warning: Failed prop type: The prop `editor` is marked as required in `InspectorEditorEnvelope`, but its value is `undefined`.
          in InspectorEditorEnvelope (created by ConnectFunction)
          in ConnectFunction (created by Context.Consumer)
          in Neos(Connect(InspectorEditorEnvelope)) (created by PropertyGroup)
          in div (created by Contents)
          in div (created by Collapse)
          in div (created by Collapse)
          in Collapse (created by UnmountClosed)
          in UnmountClosed (created by Contents)
          in Contents (created by ThemedContents)
          in ThemedContents (created by StatelessToggablePanel)
          in section (created by StatelessToggablePanel)
          in StatelessToggablePanel (created by ToggablePanel)
          in ToggablePanel (created by ThemedToggablePanel)
          in ThemedToggablePanel (created by PropertyGroup)
          in PropertyGroup
          in Provider
          in WrapWithMockGlobalRegistry (created by WrapperComponent)
          in WrapperComponent

      at printWarning (node_modules/prop-types/<stdin>:20:15)
      at checkPropTypes (node_modules/prop-types/<stdin>:83:11)
      at validatePropTypes (node_modules/react/cjs/<stdin>:1714:7)
      at Object.createElementWithValidation [as createElement] (node_modules/react/cjs/<stdin>:1813:5)
      at node_modules/react-redux/lib/components/<stdin>:319:34
      at mountMemo (node_modules/react-dom/cjs/<stdin>:15442:19)
      at Object.useMemo (node_modules/react-dom/cjs/<stdin>:15738:16)
      at useMemo (node_modules/react/cjs/<stdin>:1521:21)

    console.error
      Warning: Failed prop type: The prop `editor` is marked as required in `EditorEnvelope`, but its value is `undefined`.
          in EditorEnvelope (created by Context.Consumer)
          in Neos(EditorEnvelope) (created by InspectorEditorEnvelope)
          in div (created by InspectorEditorEnvelope)
          in InspectorEditorEnvelope (created by ConnectFunction)
          in ConnectFunction (created by Context.Consumer)
          in Neos(Connect(InspectorEditorEnvelope)) (created by PropertyGroup)
          in div (created by Contents)
          in div (created by Collapse)
          in div (created by Collapse)
          in Collapse (created by UnmountClosed)
          in UnmountClosed (created by Contents)
          in Contents (created by ThemedContents)
          in ThemedContents (created by StatelessToggablePanel)
          in section (created by StatelessToggablePanel)
          in StatelessToggablePanel (created by ToggablePanel)
          in ToggablePanel (created by ThemedToggablePanel)
          in ThemedToggablePanel (created by PropertyGroup)
          in PropertyGroup
          in Provider
          in WrapWithMockGlobalRegistry (created by WrapperComponent)
          in WrapperComponent

      at printWarning (node_modules/prop-types/<stdin>:20:15)
      at checkPropTypes (node_modules/prop-types/<stdin>:83:11)
      at validatePropTypes (node_modules/react/cjs/<stdin>:1714:7)
      at Object.createElementWithValidation [as createElement] (node_modules/react/cjs/<stdin>:1813:5)
      at render (packages/neos-ui-decorators/src/<stdin>:40:29)
      at updateContextConsumer (node_modules/react-dom/cjs/<stdin>:18304:19)
      at beginWork (node_modules/react-dom/cjs/<stdin>:18661:14)
      at beginWork$1 (node_modules/react-dom/cjs/<stdin>:23179:14)

    console.error
      Warning: Failed prop type: The prop `editorRegistry` is marked as required in `EditorEnvelope`, but its value is `null`.
          in EditorEnvelope (created by Context.Consumer)
          in Neos(EditorEnvelope) (created by InspectorEditorEnvelope)
          in div (created by InspectorEditorEnvelope)
          in InspectorEditorEnvelope (created by ConnectFunction)
          in ConnectFunction (created by Context.Consumer)
          in Neos(Connect(InspectorEditorEnvelope)) (created by PropertyGroup)
          in div (created by Contents)
          in div (created by Collapse)
          in div (created by Collapse)
          in Collapse (created by UnmountClosed)
          in UnmountClosed (created by Contents)
          in Contents (created by ThemedContents)
          in ThemedContents (created by StatelessToggablePanel)
          in section (created by StatelessToggablePanel)
          in StatelessToggablePanel (created by ToggablePanel)
          in ToggablePanel (created by ThemedToggablePanel)
          in ThemedToggablePanel (created by PropertyGroup)
          in PropertyGroup
          in Provider
          in WrapWithMockGlobalRegistry (created by WrapperComponent)
          in WrapperComponent

      at printWarning (node_modules/prop-types/<stdin>:20:15)
      at checkPropTypes (node_modules/prop-types/<stdin>:83:11)
      at validatePropTypes (node_modules/react/cjs/<stdin>:1714:7)
      at Object.createElementWithValidation [as createElement] (node_modules/react/cjs/<stdin>:1813:5)
      at render (packages/neos-ui-decorators/src/<stdin>:40:29)
      at updateContextConsumer (node_modules/react-dom/cjs/<stdin>:18304:19)
      at beginWork (node_modules/react-dom/cjs/<stdin>:18661:14)
      at beginWork$1 (node_modules/react-dom/cjs/<stdin>:23179:14)

 PASS  packages/neos-ui-backend-connector/src/index.spec.js
 PASS  packages/react-ui-components/src/Icon/fontAwesomeIcon.spec.tsx
 PASS  packages/neos-ui-i18n/src/registry/I18nRegistry.spec.js
 PASS  packages/react-ui-components/src/DateInput/index.spec.ts
 PASS  packages/react-ui-components/src/CheckBox/checkBox.spec.tsx
 PASS  packages/react-ui-components/src/DropDown/header.spec.tsx
 PASS  packages/react-ui-components/src/TextArea/textArea.spec.tsx
 PASS  packages/react-ui-components/src/IconButtonDropDown/iconButtonDropDown.spec.tsx
 PASS  packages/react-ui-components/src/MultiSelectBox/index.spec.js
 PASS  packages/neos-ui-validators/src/EmailAddress/index.spec.js
 PASS  packages/neos-ui-redux-store/src/UI/PageTree/index.spec.js
 PASS  packages/react-ui-components/src/Tooltip/index.spec.ts
 PASS  packages/react-ui-components/src/SelectBox/selectBox.spec.js
 PASS  packages/react-ui-components/src/DropDown/wrapper.spec.tsx
 PASS  packages/neos-ui-redux-store/src/System/index.spec.js
 PASS  packages/react-ui-components/src/DropDown/index.spec.ts
 PASS  packages/react-ui-components/src/Dialog/dialog.spec.tsx
 PASS  packages/utils-helpers/src/urlWithParams.spec.js
 PASS  packages/react-ui-components/src/Headline/index.spec.ts
 PASS  packages/react-ui-components/src/Tree/node.spec.js
 PASS  packages/react-ui-components/src/DropDown/contents.spec.tsx
 PASS  packages/react-ui-components/src/SelectBox/index.spec.js
 PASS  packages/neos-ui-extensibility/src/createConsumerApi.spec.js
 PASS  packages/neos-ui-redux-store/src/User/Settings/index.spec.js
 PASS  packages/react-ui-components/src/Tabs/index.spec.ts
 PASS  packages/react-ui-components/src/Dialog/index.spec.ts
 PASS  packages/utils-helpers/src/requestIdleCallback.spec.js
 PASS  packages/neos-ui-validators/src/Float/index.spec.js
 PASS  packages/utils-helpers/src/stripTags.spec.js
 PASS  packages/react-ui-components/src/Icon/index.spec.ts
 PASS  packages/react-ui-components/src/SideBar/index.spec.ts
 PASS  packages/react-ui-components/src/_lib/injectProps.spec.js
 PASS  packages/neos-ui-validators/src/Count/index.spec.js
 PASS  packages/react-ui-components/src/ToggablePanel/index.spec.js
 PASS  packages/react-ui-components/src/Icon/icon.spec.tsx
 PASS  packages/neos-ui-redux-store/src/UI/FlashMessages/index.spec.js
 PASS  packages/react-ui-components/src/MultiSelectBox/multiSelectBox.spec.js
 PASS  packages/neos-ui-validators/src/RegularExpression/index.spec.js
 PASS  packages/neos-ui-redux-store/src/UI/LeftSideBar/index.spec.js
 PASS  packages/neos-ui-validators/src/NumberRange/index.spec.js
 PASS  packages/react-ui-components/src/Bar/bar.spec.tsx
 PASS  packages/react-proptypes/src/nodeType.spec.js
 PASS  packages/neos-ui-redux-store/src/UI/FullScreen/index.spec.js
 PASS  packages/react-ui-components/src/IconButton/iconButton.spec.tsx
 PASS  packages/neos-ui-redux-store/src/CR/ContentDimensions/index.spec.js
 PASS  packages/react-ui-components/src/Button/index.spec.ts
 PASS  packages/neos-ui-redux-store/src/User/Preferences/index.spec.js
 PASS  packages/utils-logger/src/index.spec.js
 PASS  packages/neos-ui-validators/src/StringLength/index.spec.js
 PASS  packages/react-ui-components/src/Bar/index.spec.ts
 PASS  packages/react-ui-components/src/TextInput/index.spec.ts
 PASS  packages/neos-ui-extensibility/src/registry/SynchronousRegistry.spec.js
 PASS  packages/react-ui-components/src/TextArea/index.spec.ts
 PASS  packages/utils-redux/src/index.spec.js
 PASS  packages/react-ui-components/src/Frame/frame.spec.tsx
 PASS  packages/utils-helpers/src/isThenable.spec.js
 PASS  packages/react-ui-components/src/Tree/tree.spec.js
 PASS  packages/neos-ui-i18n/src/index.spec.js
 PASS  packages/utils-redux/src/handleActions.spec.js
 PASS  packages/utils-helpers/src/discover.spec.js
 PASS  packages/react-ui-components/src/Tooltip/tooltip.spec.tsx
 PASS  packages/neos-ui-redux-store/src/CR/Workspaces/index.spec.js
 PASS  packages/react-ui-components/src/IconButtonDropDown/index.spec.ts
 PASS  packages/react-proptypes/src/documentNode.spec.js
 PASS  packages/react-proptypes/src/propertyDefinition.spec.js
 PASS  packages/react-ui-components/src/_lib/testUtils.spec.js
 PASS  packages/react-proptypes/src/renderedNodeDomAddress.spec.js
 PASS  packages/utils-helpers/src/cancelIdleCallback.spec.js
 PASS  packages/neos-ui-redux-store/src/UI/ContentTree/index.spec.js
 PASS  packages/neos-ui-redux-store/src/UI/ContentCanvas/index.spec.js
 PASS  packages/react-ui-components/src/ButtonGroup/buttonGroupItem.spec.tsx
 PASS  packages/react-ui-components/src/Badge/index.spec.ts
 PASS  packages/neos-ui-redux-store/src/UI/EditPreviewMode/index.spec.js
 PASS  packages/react-ui-components/src/TextInput/textInput.spec.tsx
 PASS  packages/react-ui-components/src/SelectBox_Option_SingleLine/selectBox_Option_SingleLine.spec.js
 PASS  packages/neos-ui-validators/src/Integer/index.spec.js
 PASS  packages/utils-helpers/src/index.spec.js
 PASS  packages/react-ui-components/src/Frame/index.spec.ts
 PASS  packages/react-ui-components/src/Badge/badge.spec.tsx
 PASS  packages/neos-ui-validators/src/NotEmpty/index.spec.js
 PASS  packages/neos-ui-redux-store/src/UI/AddNodeModal/index.spec.js
 PASS  packages/react-ui-components/src/identifiers.spec.js
 PASS  packages/neos-ui-redux-store/src/UI/Inspector/selectors.spec.js
 PASS  packages/react-ui-components/src/_lib/storyUtils.spec.js
 PASS  packages/utils-helpers/src/isUri.spec.js
 PASS  packages/react-ui-components/src/SideBar/sideBar.spec.tsx
 PASS  packages/neos-ui-redux-store/src/CR/Workspaces/selectors.spec.js
 PASS  packages/neos-ui-redux-store/src/UI/Remote/index.spec.js
 PASS  packages/react-ui-components/src/IconButton/index.spec.ts
 PASS  packages/utils-helpers/src/isNil.spec.js
 PASS  packages/neos-ui-validators/src/Uuid/index.spec.js
 PASS  packages/neos-ui-sagas/src/Changes/saveHooks.spec.ts
  ● Console

    console.error
      There is no registered save hook function for identifier AddNumber

      at applySaveHooksForTransientValue (packages/neos-ui-sagas/src/Changes/<stdin>:42:25)
          at applySaveHooksForTransientValue.next (<anonymous>)
      at packages/neos-ui-sagas/src/Changes/<stdin>:69:26
      at Object.<anonymous> (node_modules/expect/build/toThrowMatchers.js:83:11)
      at Object.throwingMatcher [as toThrow] (node_modules/expect/build/index.js:382:21)
      at Object.<anonymous> (packages/neos-ui-sagas/src/Changes/<stdin>:69:34)

    console.error
      There was an error executing AddNumber Error:
          at /Volumes/Development/Playground/neos-83/Packages/Application/Neos.Neos.Ui/packages/neos-ui-sagas/src/Changes/<stdin>:84:19
          at applySaveHooksForTransientValue (/Volumes/Development/Playground/neos-83/Packages/Application/Neos.Neos.Ui/packages/neos-ui-sagas/src/Changes/<stdin>:34:36)
          at applySaveHooksForTransientValue.next (<anonymous>)
          at /Volumes/Development/Playground/neos-83/Packages/Application/Neos.Neos.Ui/packages/neos-ui-sagas/src/Changes/<stdin>:90:26
          at Object.<anonymous> (/Volumes/Development/Playground/neos-83/Packages/Application/Neos.Neos.Ui/node_modules/expect/build/toThrowMatchers.js:83:11)
          at Object.throwingMatcher [as toThrow] (/Volumes/Development/Playground/neos-83/Packages/Application/Neos.Neos.Ui/node_modules/expect/build/index.js:382:21)
          at Object.<anonymous> (/Volumes/Development/Playground/neos-83/Packages/Application/Neos.Neos.Ui/packages/neos-ui-sagas/src/Changes/<stdin>:90:34)
          at Promise.then.completed (/Volumes/Development/Playground/neos-83/Packages/Application/Neos.Neos.Ui/node_modules/jest-circus/build/utils.js:391:28)
          at new Promise (<anonymous>)
          at callAsyncCircusFn (/Volumes/Development/Playground/neos-83/Packages/Application/Neos.Neos.Ui/node_modules/jest-circus/build/utils.js:316:10)

      at applySaveHooksForTransientValue (packages/neos-ui-sagas/src/Changes/<stdin>:36:29)
          at applySaveHooksForTransientValue.next (<anonymous>)
      at packages/neos-ui-sagas/src/Changes/<stdin>:90:26
      at Object.<anonymous> (node_modules/expect/build/toThrowMatchers.js:83:11)
      at Object.throwingMatcher [as toThrow] (node_modules/expect/build/index.js:382:21)
      at Object.<anonymous> (packages/neos-ui-sagas/src/Changes/<stdin>:90:34)

 PASS  packages/react-ui-components/src/Headline/headline.spec.tsx
 PASS  packages/utils-helpers/src/decodeHtml.spec.js
 PASS  packages/neos-ui-validators/src/Alphanumeric/index.spec.js
 PASS  packages/react-ui-components/src/ButtonGroup/index.spec.ts
 PASS  packages/neos-ts-interfaces/src/index.spec.ts
 PASS  packages/utils-helpers/src/isEmail.spec.js
 PASS  packages/utils-helpers/src/delay.spec.js
 PASS  packages/neos-ui-extensibility/src/readFromConsumerApi.spec.js
 PASS  packages/neos-ui-redux-store/src/UI/PageTree/selectors.spec.js
 PASS  packages/react-proptypes/src/node.spec.js
 PASS  packages/react-ui-components/src/ButtonGroup/buttonGroup.spec.tsx
 PASS  packages/neos-ui-validators/src/DateTime/index.spec.js
 PASS  packages/react-ui-components/src/Tabs/panel.spec.tsx
 PASS  packages/neos-ui-redux-store/src/UI/Drawer/index.spec.js
 PASS  packages/neos-ui-validators/src/Text/index.spec.js
 PASS  packages/neos-ui-redux-store/src/UI/RightSideBar/index.spec.js
 PASS  packages/react-ui-components/src/Label/index.spec.ts
 PASS  packages/neos-ui-validators/src/Label/index.spec.js
 PASS  packages/neos-ui-backend-connector/src/Use/index.spec.js
 PASS  packages/react-ui-components/src/Label/label.spec.tsx
 PASS  packages/react-ui-components/src/IconButtonDropDown/dropDownItem.spec.tsx
 PASS  packages/neos-ui-redux-store/src/User/Name/index.spec.js
 PASS  packages/react-ui-components/src/_lib/focusNode.spec.js
 PASS  packages/neos-ui-validators/src/String/index.spec.js
 PASS  packages/react-ui-components/src/Button/button.spec.tsx

Originally posted by @markusguenther in #3449 (comment)

@grebaldi grebaldi added Bug Label to mark the change as bugfix Tooling / Testing Cleanup Technical debt DX This issue, once solved, might improve the Developer Experience for Neos Integrators. labels May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Label to mark the change as bugfix Cleanup DX This issue, once solved, might improve the Developer Experience for Neos Integrators. Technical debt Tooling / Testing
Projects
No open projects
Development

No branches or pull requests

2 participants