kokhlo commented on issue #44322: URL: https://github.com/apache/superset/issues/44322#issuecomment-5690351925
Taking this one — the diagnosis above matches what I see on current `master`. **Root cause confirmed:** `superset-frontend/src/explore/components/useExploreAdditionalActionsMenu/useExploreAdditionalActionsMenu.test.tsx` still has 12 un-awaited `userEvent` calls (lines 228–230, 244–246, 270–272, 301–303). After #43512 moved to user-event v14, every call returns a promise and dispatches pointer events across `delay: 0` yields, so each un-awaited hover/click leaves the submenu race that the next `findByText` has to absorb — exactly the intermittent `Unable to find an element with the text: Export All Data` seen in `sharded-jest-tests`. **Plan:** mechanical `await` on all 12 calls (hover ×8 / click ×4 across the four tests), no other changes — same shape as the fix that already proved itself in `ExploreChartHeader.test.tsx` via #43512. **Verification:** run the full test file locally (18 tests) both idle and under artificial CPU load, since the failure mode only manifests on a loaded runner. PR within the hour. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
