mirror of
https://github.com/apache/superset.git
synced 2026-05-30 04:39:20 +00:00
userEvent.type fires keystrokes serially through React's event system, which races with the new debounced validation: ports rendered as number inputs lose values mid-typing, and dynamic-form tests time out at the 20s default while tabbing between five fields. userEvent.paste also no longer supplies a clipboardData object the Select onPaste handler can read. Switch the affected interactions to fireEvent.change/blur (single-shot, no per-key validation churn) and revert the paste case to fireEvent.paste, matching the master form. Behavior under test is unchanged. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>