CI: An update to DropdownMenu inside a test was not wrapped in act
Runtime warning during test.
I did try to fix that without success.
Warning: An update to DropdownMenu 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://fb.me/react-wrap-tests-with-act
in DropdownMenu (created by DropdownButton)
in div (created by Dropdown)
in ReactOverlaysDropdown (created by Dropdown)
in Dropdown (created by DropdownButton)
in DropdownButton (at ScanPlot0d.jsx:25)
in SeriesSelect (at ScanPlot0d.jsx:396)
in div (created by InputGroup)
in InputGroup (at ScanPlot0d.jsx:395)
in form (created by Form)
in Form (at ScanPlot0d.jsx:385)
in div (at ScanPlot0d.jsx:384)
in div (at ScanPlot0d.jsx:383)
in ScanPlot0d (created by Connect(ScanPlot0d))
in Connect(ScanPlot0d) (at namespace.js:104)
in WithNamespace(Connect(ScanPlot0d)) (at Component.jsx:46)
in div (at Panel.jsx:63)
in PanelContents (at Component.jsx:45)
in Suspense (at Component.jsx:43)
in div (at Panel.jsx:23)
in Panel (at Component.jsx:42)
in YamlComponent (at utils.jsx:26)
in div (created by Col)
in Col (at Col.jsx:10)
in YamlCol (at utils.jsx:26)
in div (created by Row)
in Row (at Row.jsx:10)
in YamlRow (at utils.jsx:26)
in div (created by Container)
in Container (at Layout.jsx:55)
in Layout (created by Connect(Layout))
in Connect(Layout) (at Main.jsx:34)
in div (created by Col)
in Col (at Main.jsx:33)
in div (created by Row)
in Row (at Main.jsx:31)
in div (created by Container)
in Container (at Main.jsx:30)
in div (at Main.jsx:28)
in Main (at SessionRoute.jsx:18)
in Route (at SessionRoute.jsx:18)
in SessionRoute (created by Connect(SessionRoute))
in Connect(SessionRoute) (at PrivateRoute.jsx:41)
in CacheContextProvider (created by Connect(CacheContextProvider))
in Connect(CacheContextProvider) (at namespace.js:104)
in WithNamespace(Connect(CacheContextProvider)) (at PrivateRoute.jsx:40)
in Route (at PrivateRoute.jsx:38)
in PrivateRoute (created by Connect(PrivateRoute))
in Connect(PrivateRoute) (at App.jsx:42)
in Switch (at App.jsx:40)
in Router (at App.jsx:39)
in ErrorBoundary (at App.jsx:38)
in div (at SessionMirror.jsx:80)
in _default (at SessionMirror.jsx:76)
in SessionMirror (created by Connect(SessionMirror))
in Connect(SessionMirror) (at App.jsx:35)
in div (at App.jsx:33)
in App (created by Connect(App))
in Connect(App) (at startApp.jsx:22)
in Provider (at tests/index.jsx:36)
in Wrapper