console.error
Warning: An update to Popper inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
at Popper (/home/rmartinez/repos/kaoto/node_modules/@patternfly/react-core/src/helpers/Popper/Popper.tsx:180:3)
at SelectBase (/home/rmartinez/repos/kaoto/node_modules/@patternfly/react-core/src/components/Select/Select.tsx:88:3)
at Select
at DSLSelectorToggle (/home/rmartinez/repos/kaoto/packages/ui/src/components/Visualization/ContextToolbar/DSLSelector/DSLSelectorToggle/DSLSelectorToggle.tsx:11:43)
at children (/home/rmartinez/repos/kaoto/packages/ui/src/stubs/TestProvidersWrapper.tsx:49:72)
Please describe the task that needs to be done
When running
yarn workspace @kaoto/kaoto run test
, there are unexpected logs forLogs